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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 F(GetHeapUsage, 0, 1) \ | 180 F(GetHeapUsage, 0, 1) \ |
181 F(GetScript, 1, 1) \ | 181 F(GetScript, 1, 1) \ |
182 F(ScriptLineCount, 1, 1) \ | 182 F(ScriptLineCount, 1, 1) \ |
183 F(ScriptLineStartPosition, 2, 1) \ | 183 F(ScriptLineStartPosition, 2, 1) \ |
184 F(ScriptLineEndPosition, 2, 1) \ | 184 F(ScriptLineEndPosition, 2, 1) \ |
185 F(ScriptLocationFromLine, 4, 1) \ | 185 F(ScriptLocationFromLine, 4, 1) \ |
186 F(ScriptPositionInfo, 3, 1) \ | 186 F(ScriptPositionInfo, 3, 1) \ |
187 F(ScriptSourceLine, 2, 1) \ | 187 F(ScriptSourceLine, 2, 1) \ |
188 F(DebugPrepareStepInIfStepping, 1, 1) \ | 188 F(DebugPrepareStepInIfStepping, 1, 1) \ |
189 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ | 189 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ |
| 190 F(DebugRecordAsyncFunction, 1, 1) \ |
190 F(DebugPushPromise, 2, 1) \ | 191 F(DebugPushPromise, 2, 1) \ |
191 F(DebugPopPromise, 0, 1) \ | 192 F(DebugPopPromise, 0, 1) \ |
192 F(DebugAsyncTaskEvent, 1, 1) \ | 193 F(DebugAsyncTaskEvent, 1, 1) \ |
193 F(DebugIsActive, 0, 1) \ | 194 F(DebugIsActive, 0, 1) \ |
194 F(DebugBreakInOptimizedCode, 0, 1) | 195 F(DebugBreakInOptimizedCode, 0, 1) |
195 | 196 |
196 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 197 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
197 F(ForInDone, 2, 1) \ | 198 F(ForInDone, 2, 1) \ |
198 F(ForInEnumerate, 1, 1) \ | 199 F(ForInEnumerate, 1, 1) \ |
199 F(ForInFilter, 2, 1) \ | 200 F(ForInFilter, 2, 1) \ |
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 | 1142 |
1142 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1143 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1143 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1144 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1144 STATIC_ASSERT(LANGUAGE_END == 3); | 1145 STATIC_ASSERT(LANGUAGE_END == 3); |
1145 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1146 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1146 | 1147 |
1147 } // namespace internal | 1148 } // namespace internal |
1148 } // namespace v8 | 1149 } // namespace v8 |
1149 | 1150 |
1150 #endif // V8_RUNTIME_RUNTIME_H_ | 1151 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |