OLD | NEW |
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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 \ | 429 \ |
430 /* Harmony generators */ \ | 430 /* Harmony generators */ \ |
431 F(CreateJSGeneratorObject, 0, 1) \ | 431 F(CreateJSGeneratorObject, 0, 1) \ |
432 F(SuspendJSGeneratorObject, 1, 1) \ | 432 F(SuspendJSGeneratorObject, 1, 1) \ |
433 F(ResumeJSGeneratorObject, 3, 1) \ | 433 F(ResumeJSGeneratorObject, 3, 1) \ |
434 F(ThrowGeneratorStateError, 1, 1) \ | 434 F(ThrowGeneratorStateError, 1, 1) \ |
435 \ | 435 \ |
436 /* Arrays */ \ | 436 /* Arrays */ \ |
437 F(ArrayConstructor, -1, 1) \ | 437 F(ArrayConstructor, -1, 1) \ |
438 F(InternalArrayConstructor, -1, 1) \ | 438 F(InternalArrayConstructor, -1, 1) \ |
| 439 F(GrowArrayElements, 3, 1) \ |
439 \ | 440 \ |
440 /* Literals */ \ | 441 /* Literals */ \ |
441 F(MaterializeRegExpLiteral, 4, 1) \ | 442 F(MaterializeRegExpLiteral, 4, 1) \ |
442 F(CreateObjectLiteral, 4, 1) \ | 443 F(CreateObjectLiteral, 4, 1) \ |
443 F(CreateArrayLiteral, 4, 1) \ | 444 F(CreateArrayLiteral, 4, 1) \ |
444 F(CreateArrayLiteralStubBailout, 3, 1) \ | 445 F(CreateArrayLiteralStubBailout, 3, 1) \ |
445 \ | 446 \ |
446 /* Statements */ \ | 447 /* Statements */ \ |
447 F(NewClosure, 3, 1) \ | 448 F(NewClosure, 3, 1) \ |
448 F(NewClosureFromStubFailure, 1, 1) \ | 449 F(NewClosureFromStubFailure, 1, 1) \ |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; | 885 class AllocateDoubleAlignFlag: public BitField<bool, 0, 1> {}; |
885 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; | 886 class AllocateTargetSpace: public BitField<AllocationSpace, 1, 3> {}; |
886 | 887 |
887 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; | 888 class DeclareGlobalsEvalFlag: public BitField<bool, 0, 1> {}; |
888 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; | 889 class DeclareGlobalsNativeFlag: public BitField<bool, 1, 1> {}; |
889 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; | 890 class DeclareGlobalsStrictMode: public BitField<StrictMode, 2, 1> {}; |
890 | 891 |
891 } } // namespace v8::internal | 892 } } // namespace v8::internal |
892 | 893 |
893 #endif // V8_RUNTIME_H_ | 894 #endif // V8_RUNTIME_H_ |
OLD | NEW |