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_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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 F(DefineClass, 6, 1) \ | 63 F(DefineClass, 6, 1) \ |
64 F(DefineClassMethod, 3, 1) \ | 64 F(DefineClassMethod, 3, 1) \ |
65 F(ClassGetSourceCode, 1, 1) \ | 65 F(ClassGetSourceCode, 1, 1) \ |
66 F(LoadFromSuper, 3, 1) \ | 66 F(LoadFromSuper, 3, 1) \ |
67 F(LoadKeyedFromSuper, 3, 1) \ | 67 F(LoadKeyedFromSuper, 3, 1) \ |
68 F(StoreToSuper_Strict, 4, 1) \ | 68 F(StoreToSuper_Strict, 4, 1) \ |
69 F(StoreToSuper_Sloppy, 4, 1) \ | 69 F(StoreToSuper_Sloppy, 4, 1) \ |
70 F(StoreKeyedToSuper_Strict, 4, 1) \ | 70 F(StoreKeyedToSuper_Strict, 4, 1) \ |
71 F(StoreKeyedToSuper_Sloppy, 4, 1) \ | 71 F(StoreKeyedToSuper_Sloppy, 4, 1) \ |
72 F(HandleStepInForDerivedConstructors, 1, 1) \ | 72 F(HandleStepInForDerivedConstructors, 1, 1) \ |
73 F(DefaultConstructorCallSuper, 0, 1) | 73 F(DefaultConstructorCallSuper, 0, 1) \ |
| 74 F(CallSuperWithSpread, 0, 1) |
74 | 75 |
75 | 76 |
76 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 77 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
77 F(StringGetRawHashField, 1, 1) \ | 78 F(StringGetRawHashField, 1, 1) \ |
78 F(TheHole, 0, 1) \ | 79 F(TheHole, 0, 1) \ |
79 F(FixedArrayGet, 2, 1) \ | 80 F(FixedArrayGet, 2, 1) \ |
80 F(FixedArraySet, 3, 1) \ | 81 F(FixedArraySet, 3, 1) \ |
81 F(JSCollectionGetTable, 1, 1) \ | 82 F(JSCollectionGetTable, 1, 1) \ |
82 F(GenericHash, 1, 1) \ | 83 F(GenericHash, 1, 1) \ |
83 F(SetInitialize, 1, 1) \ | 84 F(SetInitialize, 1, 1) \ |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 | 857 |
857 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 858 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
858 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 859 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
859 STATIC_ASSERT(LANGUAGE_END == 3); | 860 STATIC_ASSERT(LANGUAGE_END == 3); |
860 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 861 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
861 | 862 |
862 } // namespace internal | 863 } // namespace internal |
863 } // namespace v8 | 864 } // namespace v8 |
864 | 865 |
865 #endif // V8_RUNTIME_RUNTIME_H_ | 866 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |