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

Side by Side Diff: src/runtime/runtime.h

Issue 656423004: Narrow cases where Sparse/Smart versions of Array methods are used (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added more tests Created 6 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/objects.cc ('k') | src/runtime/runtime-array.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_RUNTIME_RUNTIME_H_ 5 #ifndef V8_RUNTIME_RUNTIME_H_
6 #define V8_RUNTIME_RUNTIME_H_ 6 #define V8_RUNTIME_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 #include "src/zone.h" 10 #include "src/zone.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 F(DefineDataPropertyUnchecked, 4, 1) \ 261 F(DefineDataPropertyUnchecked, 4, 1) \
262 F(DefineAccessorPropertyUnchecked, 5, 1) \ 262 F(DefineAccessorPropertyUnchecked, 5, 1) \
263 F(GetDataProperty, 2, 1) \ 263 F(GetDataProperty, 2, 1) \
264 \ 264 \
265 /* Arrays */ \ 265 /* Arrays */ \
266 F(RemoveArrayHoles, 2, 1) \ 266 F(RemoveArrayHoles, 2, 1) \
267 F(GetArrayKeys, 2, 1) \ 267 F(GetArrayKeys, 2, 1) \
268 F(MoveArrayContents, 2, 1) \ 268 F(MoveArrayContents, 2, 1) \
269 F(EstimateNumberOfElements, 1, 1) \ 269 F(EstimateNumberOfElements, 1, 1) \
270 F(NormalizeElements, 1, 1) \ 270 F(NormalizeElements, 1, 1) \
271 F(HasComplexElements, 1, 1) \
271 \ 272 \
272 /* Getters and Setters */ \ 273 /* Getters and Setters */ \
273 F(LookupAccessor, 3, 1) \ 274 F(LookupAccessor, 3, 1) \
274 \ 275 \
275 /* ES5 */ \ 276 /* ES5 */ \
276 F(ObjectFreeze, 1, 1) \ 277 F(ObjectFreeze, 1, 1) \
277 \ 278 \
278 /* Harmony modules */ \ 279 /* Harmony modules */ \
279 F(IsJSModule, 1, 1) \ 280 F(IsJSModule, 1, 1) \
280 \ 281 \
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {}; 899 class AllocateTargetSpace : public BitField<AllocationSpace, 1, 3> {};
899 900
900 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; 901 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {};
901 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; 902 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {};
902 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {}; 903 class DeclareGlobalsStrictMode : public BitField<StrictMode, 2, 1> {};
903 904
904 } // namespace internal 905 } // namespace internal
905 } // namespace v8 906 } // namespace v8
906 907
907 #endif // V8_RUNTIME_RUNTIME_H_ 908 #endif // V8_RUNTIME_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime/runtime-array.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698