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

Side by Side Diff: src/runtime.h

Issue 416403002: Keep new arrays allocated with 'new Array(N)' in fast mode (revisited) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 6 years, 5 months 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.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_H_ 5 #ifndef V8_RUNTIME_H_
6 #define V8_RUNTIME_H_ 6 #define V8_RUNTIME_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/zone.h" 9 #include "src/zone.h"
10 10
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 F(DefineDataPropertyUnchecked, 4, 1) \ 231 F(DefineDataPropertyUnchecked, 4, 1) \
232 F(DefineAccessorPropertyUnchecked, 5, 1) \ 232 F(DefineAccessorPropertyUnchecked, 5, 1) \
233 F(GetDataProperty, 2, 1) \ 233 F(GetDataProperty, 2, 1) \
234 F(SetHiddenProperty, 3, 1) \ 234 F(SetHiddenProperty, 3, 1) \
235 \ 235 \
236 /* Arrays */ \ 236 /* Arrays */ \
237 F(RemoveArrayHoles, 2, 1) \ 237 F(RemoveArrayHoles, 2, 1) \
238 F(GetArrayKeys, 2, 1) \ 238 F(GetArrayKeys, 2, 1) \
239 F(MoveArrayContents, 2, 1) \ 239 F(MoveArrayContents, 2, 1) \
240 F(EstimateNumberOfElements, 1, 1) \ 240 F(EstimateNumberOfElements, 1, 1) \
241 F(NormalizeElements, 1, 1) \
241 \ 242 \
242 /* Getters and Setters */ \ 243 /* Getters and Setters */ \
243 F(LookupAccessor, 3, 1) \ 244 F(LookupAccessor, 3, 1) \
244 \ 245 \
245 /* ES5 */ \ 246 /* ES5 */ \
246 F(ObjectFreeze, 1, 1) \ 247 F(ObjectFreeze, 1, 1) \
247 \ 248 \
248 /* Harmony modules */ \ 249 /* Harmony modules */ \
249 F(IsJSModule, 1, 1) \ 250 F(IsJSModule, 1, 1) \
250 \ 251 \
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 889 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
889 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 890 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
890 891
891 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 892 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
892 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 893 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
893 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 894 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
894 895
895 } } // namespace v8::internal 896 } } // namespace v8::internal
896 897
897 #endif // V8_RUNTIME_H_ 898 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698