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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 F(DebugPromiseEvent, 1, 1) \ | 80 F(DebugPromiseEvent, 1, 1) \ |
81 F(DebugAsyncTaskEvent, 1, 1) \ | 81 F(DebugAsyncTaskEvent, 1, 1) \ |
82 F(PromiseRejectEvent, 3, 1) \ | 82 F(PromiseRejectEvent, 3, 1) \ |
83 F(PromiseRevokeReject, 1, 1) \ | 83 F(PromiseRevokeReject, 1, 1) \ |
84 F(PromiseHasHandlerSymbol, 0, 1) \ | 84 F(PromiseHasHandlerSymbol, 0, 1) \ |
85 F(FlattenString, 1, 1) \ | 85 F(FlattenString, 1, 1) \ |
86 F(LoadMutableDouble, 2, 1) \ | 86 F(LoadMutableDouble, 2, 1) \ |
87 F(TryMigrateInstance, 1, 1) \ | 87 F(TryMigrateInstance, 1, 1) \ |
88 F(NotifyContextDisposed, 0, 1) \ | 88 F(NotifyContextDisposed, 0, 1) \ |
89 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 89 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 90 F(IncrementStatsCounter, 1, 1) \ |
90 \ | 91 \ |
91 /* Array join support */ \ | 92 /* Array join support */ \ |
92 F(PushIfAbsent, 2, 1) \ | 93 F(PushIfAbsent, 2, 1) \ |
93 F(ArrayConcat, 1, 1) \ | 94 F(ArrayConcat, 1, 1) \ |
94 \ | 95 \ |
95 /* Conversions */ \ | 96 /* Conversions */ \ |
96 F(ToBool, 1, 1) \ | 97 F(ToBool, 1, 1) \ |
97 F(Typeof, 1, 1) \ | 98 F(Typeof, 1, 1) \ |
98 \ | 99 \ |
99 F(StringToNumber, 1, 1) \ | 100 F(StringToNumber, 1, 1) \ |
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 | 904 |
904 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 905 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
905 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 906 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
906 STATIC_ASSERT(LANGUAGE_END == 3); | 907 STATIC_ASSERT(LANGUAGE_END == 3); |
907 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 908 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
908 | 909 |
909 } // namespace internal | 910 } // namespace internal |
910 } // namespace v8 | 911 } // namespace v8 |
911 | 912 |
912 #endif // V8_RUNTIME_RUNTIME_H_ | 913 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |