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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
66 F(DefineClass, 6, 1) \ | 66 F(DefineClass, 6, 1) \ |
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, 2, 1) \ |
77 F(CallSuperWithSpread, 0, 1) | 77 F(CallSuperWithSpread, 1, 1) |
adamk
2015/05/29 19:14:46
Looks like this was wrong before?
arv (Not doing code reviews)
2015/05/29 19:17:17
Yes. It was wrong before... I'll add a DCHECK.
| |
78 | 78 |
79 | 79 |
80 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ | 80 #define FOR_EACH_INTRINSIC_COLLECTIONS(F) \ |
81 F(StringGetRawHashField, 1, 1) \ | 81 F(StringGetRawHashField, 1, 1) \ |
82 F(TheHole, 0, 1) \ | 82 F(TheHole, 0, 1) \ |
83 F(JSCollectionGetTable, 1, 1) \ | 83 F(JSCollectionGetTable, 1, 1) \ |
84 F(GenericHash, 1, 1) \ | 84 F(GenericHash, 1, 1) \ |
85 F(SetInitialize, 1, 1) \ | 85 F(SetInitialize, 1, 1) \ |
86 F(SetGrow, 1, 1) \ | 86 F(SetGrow, 1, 1) \ |
87 F(SetShrink, 1, 1) \ | 87 F(SetShrink, 1, 1) \ |
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
881 | 881 |
882 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 882 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
883 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 883 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
884 STATIC_ASSERT(LANGUAGE_END == 3); | 884 STATIC_ASSERT(LANGUAGE_END == 3); |
885 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 885 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
886 | 886 |
887 } // namespace internal | 887 } // namespace internal |
888 } // namespace v8 | 888 } // namespace v8 |
889 | 889 |
890 #endif // V8_RUNTIME_RUNTIME_H_ | 890 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |