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/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
10 #include "src/objects.h" | 10 #include "src/objects.h" |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 #define FOR_EACH_INTRINSIC_CLASSES(F) \ | 76 #define FOR_EACH_INTRINSIC_CLASSES(F) \ |
77 F(ThrowNonMethodError, 0, 1) \ | 77 F(ThrowNonMethodError, 0, 1) \ |
78 F(ThrowUnsupportedSuperError, 0, 1) \ | 78 F(ThrowUnsupportedSuperError, 0, 1) \ |
79 F(ThrowConstructorNonCallableError, 1, 1) \ | 79 F(ThrowConstructorNonCallableError, 1, 1) \ |
80 F(ThrowArrayNotSubclassableError, 0, 1) \ | 80 F(ThrowArrayNotSubclassableError, 0, 1) \ |
81 F(ThrowStaticPrototypeError, 0, 1) \ | 81 F(ThrowStaticPrototypeError, 0, 1) \ |
82 F(ThrowIfStaticPrototype, 1, 1) \ | 82 F(ThrowIfStaticPrototype, 1, 1) \ |
83 F(HomeObjectSymbol, 0, 1) \ | 83 F(HomeObjectSymbol, 0, 1) \ |
84 F(DefineClass, 4, 1) \ | 84 F(DefineClass, 4, 1) \ |
85 F(FinalizeClassDefinition, 2, 1) \ | |
86 F(LoadFromSuper, 3, 1) \ | 85 F(LoadFromSuper, 3, 1) \ |
87 F(LoadKeyedFromSuper, 3, 1) \ | 86 F(LoadKeyedFromSuper, 3, 1) \ |
88 F(StoreToSuper_Strict, 4, 1) \ | 87 F(StoreToSuper_Strict, 4, 1) \ |
89 F(StoreToSuper_Sloppy, 4, 1) \ | 88 F(StoreToSuper_Sloppy, 4, 1) \ |
90 F(StoreKeyedToSuper_Strict, 4, 1) \ | 89 F(StoreKeyedToSuper_Strict, 4, 1) \ |
91 F(StoreKeyedToSuper_Sloppy, 4, 1) \ | 90 F(StoreKeyedToSuper_Sloppy, 4, 1) \ |
92 F(GetSuperConstructor, 1, 1) | 91 F(GetSuperConstructor, 1, 1) |
93 | 92 |
94 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 93 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
95 F(StringGetRawHashField, 1, 1) \ | 94 F(StringGetRawHashField, 1, 1) \ |
(...skipping 1066 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 | 1161 |
1163 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1162 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1164 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1163 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1165 STATIC_ASSERT(LANGUAGE_END == 3); | 1164 STATIC_ASSERT(LANGUAGE_END == 3); |
1166 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1165 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1167 | 1166 |
1168 } // namespace internal | 1167 } // namespace internal |
1169 } // namespace v8 | 1168 } // namespace v8 |
1170 | 1169 |
1171 #endif // V8_RUNTIME_RUNTIME_H_ | 1170 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |