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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 F(DebugAsyncTaskEvent, 1, 1) \ | 192 F(DebugAsyncTaskEvent, 1, 1) \ |
193 F(DebugIsActive, 0, 1) \ | 193 F(DebugIsActive, 0, 1) \ |
194 F(DebugBreakInOptimizedCode, 0, 1) \ | 194 F(DebugBreakInOptimizedCode, 0, 1) \ |
195 F(GetWasmFunctionOffsetTable, 1, 1) \ | 195 F(GetWasmFunctionOffsetTable, 1, 1) \ |
196 F(DisassembleWasmFunction, 1, 1) | 196 F(DisassembleWasmFunction, 1, 1) |
197 | 197 |
198 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 198 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
199 F(ForInDone, 2, 1) \ | 199 F(ForInDone, 2, 1) \ |
200 F(ForInEnumerate, 1, 1) \ | 200 F(ForInEnumerate, 1, 1) \ |
201 F(ForInFilter, 2, 1) \ | 201 F(ForInFilter, 2, 1) \ |
| 202 F(ForInHasProperty, 2, 1) \ |
202 F(ForInNext, 4, 1) \ | 203 F(ForInNext, 4, 1) \ |
203 F(ForInStep, 1, 1) | 204 F(ForInStep, 1, 1) |
204 | 205 |
205 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ | 206 #define FOR_EACH_INTRINSIC_INTERPRETER(F) \ |
206 F(InterpreterNewClosure, 2, 1) \ | 207 F(InterpreterNewClosure, 2, 1) \ |
207 F(InterpreterTraceBytecodeEntry, 3, 1) \ | 208 F(InterpreterTraceBytecodeEntry, 3, 1) \ |
208 F(InterpreterTraceBytecodeExit, 3, 1) \ | 209 F(InterpreterTraceBytecodeExit, 3, 1) \ |
209 F(InterpreterClearPendingMessage, 0, 1) \ | 210 F(InterpreterClearPendingMessage, 0, 1) \ |
210 F(InterpreterSetPendingMessage, 1, 1) | 211 F(InterpreterSetPendingMessage, 1, 1) |
211 | 212 |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 | 1135 |
1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1136 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1137 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1137 STATIC_ASSERT(LANGUAGE_END == 3); | 1138 STATIC_ASSERT(LANGUAGE_END == 3); |
1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1139 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1139 | 1140 |
1140 } // namespace internal | 1141 } // namespace internal |
1141 } // namespace v8 | 1142 } // namespace v8 |
1142 | 1143 |
1143 #endif // V8_RUNTIME_RUNTIME_H_ | 1144 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |