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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 F(IncrementStatsCounter, 1, 1) \ |
| 91 F(Likely, 1, 1) \ |
| 92 F(Unlikely, 1, 1) \ |
91 \ | 93 \ |
92 /* Array join support */ \ | 94 /* Array join support */ \ |
93 F(PushIfAbsent, 2, 1) \ | 95 F(PushIfAbsent, 2, 1) \ |
94 F(ArrayConcat, 1, 1) \ | 96 F(ArrayConcat, 1, 1) \ |
95 \ | 97 \ |
96 /* Conversions */ \ | 98 /* Conversions */ \ |
97 F(ToBool, 1, 1) \ | 99 F(ToBool, 1, 1) \ |
98 F(Typeof, 1, 1) \ | 100 F(Typeof, 1, 1) \ |
99 \ | 101 \ |
100 F(StringToNumber, 1, 1) \ | 102 F(StringToNumber, 1, 1) \ |
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 | 907 |
906 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 908 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
907 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 909 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
908 STATIC_ASSERT(LANGUAGE_END == 3); | 910 STATIC_ASSERT(LANGUAGE_END == 3); |
909 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 911 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
910 | 912 |
911 } // namespace internal | 913 } // namespace internal |
912 } // namespace v8 | 914 } // namespace v8 |
913 | 915 |
914 #endif // V8_RUNTIME_RUNTIME_H_ | 916 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |