Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: src/elements.h

Issue 11377132: Support all fast elements kinds in the major array operations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments (and rebased) Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/builtins.cc ('k') | src/elements.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 virtual uint32_t GetKeyForIndex(FixedArrayBase* backing_store, 190 virtual uint32_t GetKeyForIndex(FixedArrayBase* backing_store,
191 uint32_t index) = 0; 191 uint32_t index) = 0;
192 192
193 private: 193 private:
194 static ElementsAccessor** elements_accessors_; 194 static ElementsAccessor** elements_accessors_;
195 const char* name_; 195 const char* name_;
196 196
197 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor); 197 DISALLOW_COPY_AND_ASSIGN(ElementsAccessor);
198 }; 198 };
199 199
200
201 void CopyObjectToObjectElements(FixedArray* from_obj,
202 ElementsKind from_kind,
203 uint32_t from_start,
204 FixedArray* to_obj,
205 ElementsKind to_kind,
206 uint32_t to_start,
207 int copy_size);
208
209
210 } } // namespace v8::internal 200 } } // namespace v8::internal
211 201
212 #endif // V8_ELEMENTS_H_ 202 #endif // V8_ELEMENTS_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698