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

Side by Side Diff: src/runtime.h

Issue 364853009: Implement ES6 Array.of() (Closed) Base URL: https://github.com/v8/v8@master
Patch Set: Fix indentation in harmony-array.js. Add comments to AddElement. Created 6 years, 4 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
« no previous file with comments | « src/harmony-array.js ('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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 /* Globals */ \ 226 /* Globals */ \
227 F(CompileString, 2, 1) \ 227 F(CompileString, 2, 1) \
228 \ 228 \
229 /* Eval */ \ 229 /* Eval */ \
230 F(GlobalProxy, 1, 1) \ 230 F(GlobalProxy, 1, 1) \
231 F(IsAttachedGlobal, 1, 1) \ 231 F(IsAttachedGlobal, 1, 1) \
232 \ 232 \
233 F(AddNamedProperty, 4, 1) \ 233 F(AddNamedProperty, 4, 1) \
234 F(AddPropertyForTemplate, 4, 1) \ 234 F(AddPropertyForTemplate, 4, 1) \
235 F(SetProperty, 4, 1) \ 235 F(SetProperty, 4, 1) \
236 F(AddElement, 4, 1) \
236 F(DefineApiAccessorProperty, 5, 1) \ 237 F(DefineApiAccessorProperty, 5, 1) \
237 F(DefineDataPropertyUnchecked, 4, 1) \ 238 F(DefineDataPropertyUnchecked, 4, 1) \
238 F(DefineAccessorPropertyUnchecked, 5, 1) \ 239 F(DefineAccessorPropertyUnchecked, 5, 1) \
239 F(GetDataProperty, 2, 1) \ 240 F(GetDataProperty, 2, 1) \
240 F(SetHiddenProperty, 3, 1) \ 241 F(SetHiddenProperty, 3, 1) \
241 \ 242 \
242 /* Arrays */ \ 243 /* Arrays */ \
243 F(RemoveArrayHoles, 2, 1) \ 244 F(RemoveArrayHoles, 2, 1) \
244 F(GetArrayKeys, 2, 1) \ 245 F(GetArrayKeys, 2, 1) \
245 F(MoveArrayContents, 2, 1) \ 246 F(MoveArrayContents, 2, 1) \
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; 904 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {};
904 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; 905 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {};
905 906
906 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; 907 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {};
907 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; 908 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {};
908 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; 909 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {};
909 910
910 } } // namespace v8::internal 911 } } // namespace v8::internal
911 912
912 #endif // V8_RUNTIME_H_ 913 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/harmony-array.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698