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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 F(ScriptLocationFromLine, 4, 1) \ | 192 F(ScriptLocationFromLine, 4, 1) \ |
193 F(ScriptLocationFromLine2, 4, 1) \ | 193 F(ScriptLocationFromLine2, 4, 1) \ |
194 F(ScriptPositionInfo, 3, 1) \ | 194 F(ScriptPositionInfo, 3, 1) \ |
195 F(ScriptPositionInfo2, 3, 1) \ | 195 F(ScriptPositionInfo2, 3, 1) \ |
196 F(ScriptSourceLine, 2, 1) \ | 196 F(ScriptSourceLine, 2, 1) \ |
197 F(DebugOnFunctionCall, 1, 1) \ | 197 F(DebugOnFunctionCall, 1, 1) \ |
198 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ | 198 F(DebugPrepareStepInSuspendedGenerator, 0, 1) \ |
199 F(DebugRecordGenerator, 1, 1) \ | 199 F(DebugRecordGenerator, 1, 1) \ |
200 F(DebugPushPromise, 1, 1) \ | 200 F(DebugPushPromise, 1, 1) \ |
201 F(DebugPopPromise, 0, 1) \ | 201 F(DebugPopPromise, 0, 1) \ |
| 202 F(DebugPromiseReject, 2, 1) \ |
202 F(DebugNextAsyncTaskId, 1, 1) \ | 203 F(DebugNextAsyncTaskId, 1, 1) \ |
203 F(DebugAsyncEventEnqueueRecurring, 2, 1) \ | 204 F(DebugAsyncEventEnqueueRecurring, 2, 1) \ |
204 F(DebugAsyncFunctionPromiseCreated, 1, 1) \ | 205 F(DebugAsyncFunctionPromiseCreated, 1, 1) \ |
205 F(DebugIsActive, 0, 1) \ | 206 F(DebugIsActive, 0, 1) \ |
206 F(DebugBreakInOptimizedCode, 0, 1) | 207 F(DebugBreakInOptimizedCode, 0, 1) |
207 | 208 |
208 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) | 209 #define FOR_EACH_INTRINSIC_ERROR(F) F(ErrorToString, 1, 1) |
209 | 210 |
210 #define FOR_EACH_INTRINSIC_FORIN(F) \ | 211 #define FOR_EACH_INTRINSIC_FORIN(F) \ |
211 F(ForInEnumerate, 1, 1) \ | 212 F(ForInEnumerate, 1, 1) \ |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 F(ExportExperimentalFromRuntime, 1, 1) \ | 297 F(ExportExperimentalFromRuntime, 1, 1) \ |
297 F(ExportFromRuntime, 1, 1) \ | 298 F(ExportFromRuntime, 1, 1) \ |
298 F(IncrementUseCounter, 1, 1) \ | 299 F(IncrementUseCounter, 1, 1) \ |
299 F(InstallToContext, 1, 1) \ | 300 F(InstallToContext, 1, 1) \ |
300 F(Interrupt, 0, 1) \ | 301 F(Interrupt, 0, 1) \ |
301 F(IS_VAR, 1, 1) \ | 302 F(IS_VAR, 1, 1) \ |
302 F(NewReferenceError, 2, 1) \ | 303 F(NewReferenceError, 2, 1) \ |
303 F(NewSyntaxError, 2, 1) \ | 304 F(NewSyntaxError, 2, 1) \ |
304 F(NewTypeError, 2, 1) \ | 305 F(NewTypeError, 2, 1) \ |
305 F(OrdinaryHasInstance, 2, 1) \ | 306 F(OrdinaryHasInstance, 2, 1) \ |
306 F(PromiseReject, 3, 1) \ | 307 F(ReportPromiseReject, 2, 1) \ |
307 F(PromiseHookInit, 2, 1) \ | 308 F(PromiseHookInit, 2, 1) \ |
308 F(PromiseHookResolve, 1, 1) \ | 309 F(PromiseHookResolve, 1, 1) \ |
309 F(PromiseHookBefore, 1, 1) \ | 310 F(PromiseHookBefore, 1, 1) \ |
310 F(PromiseHookAfter, 1, 1) \ | 311 F(PromiseHookAfter, 1, 1) \ |
311 F(PromiseMarkAsHandled, 1, 1) \ | 312 F(PromiseMarkAsHandled, 1, 1) \ |
312 F(PromiseMarkHandledHint, 1, 1) \ | 313 F(PromiseMarkHandledHint, 1, 1) \ |
313 F(PromiseRejectEventFromStack, 2, 1) \ | 314 F(PromiseRejectEventFromStack, 2, 1) \ |
314 F(PromiseRevokeReject, 1, 1) \ | 315 F(PromiseRevokeReject, 1, 1) \ |
315 F(PromiseResult, 1, 1) \ | 316 F(PromiseResult, 1, 1) \ |
316 F(PromiseStatus, 1, 1) \ | 317 F(PromiseStatus, 1, 1) \ |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 | 1150 |
1150 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1151 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1151 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1152 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1152 STATIC_ASSERT(LANGUAGE_END == 2); | 1153 STATIC_ASSERT(LANGUAGE_END == 2); |
1153 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1154 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1154 | 1155 |
1155 } // namespace internal | 1156 } // namespace internal |
1156 } // namespace v8 | 1157 } // namespace v8 |
1157 | 1158 |
1158 #endif // V8_RUNTIME_RUNTIME_H_ | 1159 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |