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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 F(GetWeakMapEntries, 2, 1) \ | 114 F(GetWeakMapEntries, 2, 1) \ |
115 F(MapIteratorNext, 2, 1) \ | 115 F(MapIteratorNext, 2, 1) \ |
116 F(WeakCollectionInitialize, 1, 1) \ | 116 F(WeakCollectionInitialize, 1, 1) \ |
117 F(WeakCollectionGet, 3, 1) \ | 117 F(WeakCollectionGet, 3, 1) \ |
118 F(WeakCollectionHas, 3, 1) \ | 118 F(WeakCollectionHas, 3, 1) \ |
119 F(WeakCollectionDelete, 3, 1) \ | 119 F(WeakCollectionDelete, 3, 1) \ |
120 F(WeakCollectionSet, 4, 1) \ | 120 F(WeakCollectionSet, 4, 1) \ |
121 F(GetWeakSetValues, 2, 1) \ | 121 F(GetWeakSetValues, 2, 1) \ |
122 F(ObservationWeakMapCreate, 0, 1) | 122 F(ObservationWeakMapCreate, 0, 1) |
123 | 123 |
124 | |
125 #define FOR_EACH_INTRINSIC_COMPILER(F) \ | 124 #define FOR_EACH_INTRINSIC_COMPILER(F) \ |
126 F(CompileLazy, 1, 1) \ | 125 F(CompileLazy, 1, 1) \ |
127 F(CompileOptimized_Concurrent, 1, 1) \ | 126 F(CompileOptimized_Concurrent, 1, 1) \ |
128 F(CompileOptimized_NotConcurrent, 1, 1) \ | 127 F(CompileOptimized_NotConcurrent, 1, 1) \ |
129 F(NotifyStubFailure, 0, 1) \ | 128 F(NotifyStubFailure, 0, 1) \ |
130 F(NotifyDeoptimized, 1, 1) \ | 129 F(NotifyDeoptimized, 1, 1) \ |
131 F(CompileForOnStackReplacement, 1, 1) \ | 130 F(CompileForOnStackReplacement, 1, 1) \ |
132 F(TryInstallOptimizedCode, 1, 1) \ | 131 F(TryInstallOptimizedCode, 1, 1) \ |
133 F(ResolvePossiblyDirectEval, 5, 1) | 132 F(ResolvePossiblyDirectEval, 6, 1) |
134 | |
135 | 133 |
136 #define FOR_EACH_INTRINSIC_DATE(F) \ | 134 #define FOR_EACH_INTRINSIC_DATE(F) \ |
137 F(IsDate, 1, 1) \ | 135 F(IsDate, 1, 1) \ |
138 F(DateCurrentTime, 0, 1) \ | 136 F(DateCurrentTime, 0, 1) \ |
139 F(ThrowNotDateError, 0, 1) | 137 F(ThrowNotDateError, 0, 1) |
140 | 138 |
141 #define FOR_EACH_INTRINSIC_DEBUG(F) \ | 139 #define FOR_EACH_INTRINSIC_DEBUG(F) \ |
142 F(HandleDebuggerStatement, 0, 1) \ | 140 F(HandleDebuggerStatement, 0, 1) \ |
143 F(DebugBreak, 1, 1) \ | 141 F(DebugBreak, 1, 1) \ |
144 F(DebugBreakOnBytecode, 1, 1) \ | 142 F(DebugBreakOnBytecode, 1, 1) \ |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1183 | 1181 |
1184 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1182 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1185 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1183 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1186 STATIC_ASSERT(LANGUAGE_END == 3); | 1184 STATIC_ASSERT(LANGUAGE_END == 3); |
1187 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1185 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1188 | 1186 |
1189 } // namespace internal | 1187 } // namespace internal |
1190 } // namespace v8 | 1188 } // namespace v8 |
1191 | 1189 |
1192 #endif // V8_RUNTIME_RUNTIME_H_ | 1190 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |