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