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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 F(ExportExperimentalFromRuntime, 1, 1) \ | 298 F(ExportExperimentalFromRuntime, 1, 1) \ |
299 F(ExportFromRuntime, 1, 1) \ | 299 F(ExportFromRuntime, 1, 1) \ |
300 F(IncrementUseCounter, 1, 1) \ | 300 F(IncrementUseCounter, 1, 1) \ |
301 F(InstallToContext, 1, 1) \ | 301 F(InstallToContext, 1, 1) \ |
302 F(Interrupt, 0, 1) \ | 302 F(Interrupt, 0, 1) \ |
303 F(IS_VAR, 1, 1) \ | 303 F(IS_VAR, 1, 1) \ |
304 F(NewReferenceError, 2, 1) \ | 304 F(NewReferenceError, 2, 1) \ |
305 F(NewSyntaxError, 2, 1) \ | 305 F(NewSyntaxError, 2, 1) \ |
306 F(NewTypeError, 2, 1) \ | 306 F(NewTypeError, 2, 1) \ |
307 F(OrdinaryHasInstance, 2, 1) \ | 307 F(OrdinaryHasInstance, 2, 1) \ |
308 F(PromiseDeferred, 1, 1) \ | |
309 F(PromiseReject, 3, 1) \ | 308 F(PromiseReject, 3, 1) \ |
310 F(PromiseFulfill, 3, 1) \ | 309 F(PromiseFulfill, 3, 1) \ |
311 F(PromiseHookInit, 2, 1) \ | 310 F(PromiseHookInit, 2, 1) \ |
312 F(PromiseHookResolve, 1, 1) \ | 311 F(PromiseHookResolve, 1, 1) \ |
313 F(PromiseHookBefore, 1, 1) \ | 312 F(PromiseHookBefore, 1, 1) \ |
314 F(PromiseHookAfter, 1, 1) \ | 313 F(PromiseHookAfter, 1, 1) \ |
315 F(PromiseMarkAsHandled, 1, 1) \ | 314 F(PromiseMarkAsHandled, 1, 1) \ |
316 F(PromiseMarkHandledHint, 1, 1) \ | 315 F(PromiseMarkHandledHint, 1, 1) \ |
317 F(PromiseRejectEventFromStack, 2, 1) \ | 316 F(PromiseRejectEventFromStack, 2, 1) \ |
318 F(PromiseRejectReactions, 1, 1) \ | |
319 F(PromiseRevokeReject, 1, 1) \ | 317 F(PromiseRevokeReject, 1, 1) \ |
320 F(PromiseResult, 1, 1) \ | 318 F(PromiseResult, 1, 1) \ |
321 F(PromiseStatus, 1, 1) \ | 319 F(PromiseStatus, 1, 1) \ |
322 F(PromoteScheduledException, 0, 1) \ | 320 F(PromoteScheduledException, 0, 1) \ |
323 F(ReThrow, 1, 1) \ | 321 F(ReThrow, 1, 1) \ |
324 F(RunMicrotasks, 0, 1) \ | 322 F(RunMicrotasks, 0, 1) \ |
325 F(StackGuard, 0, 1) \ | 323 F(StackGuard, 0, 1) \ |
326 F(Throw, 1, 1) \ | 324 F(Throw, 1, 1) \ |
327 F(ThrowApplyNonFunction, 1, 1) \ | 325 F(ThrowApplyNonFunction, 1, 1) \ |
328 F(ThrowCannotConvertToPrimitive, 0, 1) \ | 326 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1149 | 1147 |
1150 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1148 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1151 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1149 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1152 STATIC_ASSERT(LANGUAGE_END == 2); | 1150 STATIC_ASSERT(LANGUAGE_END == 2); |
1153 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1151 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1154 | 1152 |
1155 } // namespace internal | 1153 } // namespace internal |
1156 } // namespace v8 | 1154 } // namespace v8 |
1157 | 1155 |
1158 #endif // V8_RUNTIME_RUNTIME_H_ | 1156 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |