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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 F(DefineClassMethod, 3, 1) \ | 67 F(DefineClassMethod, 3, 1) \ |
68 F(ClassGetSourceCode, 1, 1) \ | 68 F(ClassGetSourceCode, 1, 1) \ |
69 F(LoadFromSuper, 3, 1) \ | 69 F(LoadFromSuper, 3, 1) \ |
70 F(LoadKeyedFromSuper, 3, 1) \ | 70 F(LoadKeyedFromSuper, 3, 1) \ |
71 F(StoreToSuper_Strict, 4, 1) \ | 71 F(StoreToSuper_Strict, 4, 1) \ |
72 F(StoreToSuper_Sloppy, 4, 1) \ | 72 F(StoreToSuper_Sloppy, 4, 1) \ |
73 F(StoreKeyedToSuper_Strict, 4, 1) \ | 73 F(StoreKeyedToSuper_Strict, 4, 1) \ |
74 F(StoreKeyedToSuper_Sloppy, 4, 1) \ | 74 F(StoreKeyedToSuper_Sloppy, 4, 1) \ |
75 F(HandleStepInForDerivedConstructors, 1, 1) \ | 75 F(HandleStepInForDerivedConstructors, 1, 1) \ |
76 F(DefaultConstructorCallSuper, 0, 1) \ | 76 F(DefaultConstructorCallSuper, 0, 1) \ |
77 F(CallSuperWithSpread, 0, 1) | 77 F(CallSuperWithSpread, 0, 1) \ |
| 78 F(LoadHomeObject, 1, 1) |
78 | 79 |
79 | 80 |
80 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 81 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
81 F(StringGetRawHashField, 1, 1) \ | 82 F(StringGetRawHashField, 1, 1) \ |
82 F(TheHole, 0, 1) \ | 83 F(TheHole, 0, 1) \ |
83 F(JSCollectionGetTable, 1, 1) \ | 84 F(JSCollectionGetTable, 1, 1) \ |
84 F(GenericHash, 1, 1) \ | 85 F(GenericHash, 1, 1) \ |
85 F(SetInitialize, 1, 1) \ | 86 F(SetInitialize, 1, 1) \ |
86 F(SetGrow, 1, 1) \ | 87 F(SetGrow, 1, 1) \ |
87 F(SetShrink, 1, 1) \ | 88 F(SetShrink, 1, 1) \ |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 | 868 |
868 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 869 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
869 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 870 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
870 STATIC_ASSERT(LANGUAGE_END == 3); | 871 STATIC_ASSERT(LANGUAGE_END == 3); |
871 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 872 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
872 | 873 |
873 } // namespace internal | 874 } // namespace internal |
874 } // namespace v8 | 875 } // namespace v8 |
875 | 876 |
876 #endif // V8_RUNTIME_RUNTIME_H_ | 877 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |