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/unicode.h" | 10 #include "src/unicode.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 F(AtomicsFutexNumWaitersForTesting, 2, 1) | 73 F(AtomicsFutexNumWaitersForTesting, 2, 1) |
74 | 74 |
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, 0, 1) \ | 79 F(ThrowConstructorNonCallableError, 0, 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(ToMethod, 2, 1) \ | |
84 F(HomeObjectSymbol, 0, 1) \ | 83 F(HomeObjectSymbol, 0, 1) \ |
85 F(DefineClass, 5, 1) \ | 84 F(DefineClass, 5, 1) \ |
86 F(FinalizeClassDefinition, 2, 1) \ | 85 F(FinalizeClassDefinition, 2, 1) \ |
87 F(DefineClassMethod, 3, 1) \ | 86 F(DefineClassMethod, 3, 1) \ |
88 F(ClassGetSourceCode, 1, 1) \ | 87 F(ClassGetSourceCode, 1, 1) \ |
89 F(LoadFromSuper, 4, 1) \ | 88 F(LoadFromSuper, 4, 1) \ |
90 F(LoadKeyedFromSuper, 4, 1) \ | 89 F(LoadKeyedFromSuper, 4, 1) \ |
91 F(StoreToSuper_Strict, 4, 1) \ | 90 F(StoreToSuper_Strict, 4, 1) \ |
92 F(StoreToSuper_Sloppy, 4, 1) \ | 91 F(StoreToSuper_Sloppy, 4, 1) \ |
93 F(StoreKeyedToSuper_Strict, 4, 1) \ | 92 F(StoreKeyedToSuper_Strict, 4, 1) \ |
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 | 1226 |
1228 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1227 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1229 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1228 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1230 STATIC_ASSERT(LANGUAGE_END == 3); | 1229 STATIC_ASSERT(LANGUAGE_END == 3); |
1231 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1230 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1232 | 1231 |
1233 } // namespace internal | 1232 } // namespace internal |
1234 } // namespace v8 | 1233 } // namespace v8 |
1235 | 1234 |
1236 #endif // V8_RUNTIME_RUNTIME_H_ | 1235 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |