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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 F(ExportExperimentalFromRuntime, 1, 1) \ | 297 F(ExportExperimentalFromRuntime, 1, 1) \ |
298 F(ExportFromRuntime, 1, 1) \ | 298 F(ExportFromRuntime, 1, 1) \ |
299 F(IncrementUseCounter, 1, 1) \ | 299 F(IncrementUseCounter, 1, 1) \ |
300 F(InstallToContext, 1, 1) \ | 300 F(InstallToContext, 1, 1) \ |
301 F(Interrupt, 0, 1) \ | 301 F(Interrupt, 0, 1) \ |
302 F(IS_VAR, 1, 1) \ | 302 F(IS_VAR, 1, 1) \ |
303 F(NewReferenceError, 2, 1) \ | 303 F(NewReferenceError, 2, 1) \ |
304 F(NewSyntaxError, 2, 1) \ | 304 F(NewSyntaxError, 2, 1) \ |
305 F(NewTypeError, 2, 1) \ | 305 F(NewTypeError, 2, 1) \ |
306 F(OrdinaryHasInstance, 2, 1) \ | 306 F(OrdinaryHasInstance, 2, 1) \ |
307 F(PromiseDeferred, 1, 1) \ | |
308 F(PromiseReject, 3, 1) \ | 307 F(PromiseReject, 3, 1) \ |
309 F(PromiseFulfill, 3, 1) \ | 308 F(PromiseFulfill, 4, 1) \ |
310 F(PromiseRejectEventFromStack, 2, 1) \ | 309 F(PromiseRejectEventFromStack, 2, 1) \ |
311 F(PromiseRejectReactions, 1, 1) \ | |
312 F(PromiseRevokeReject, 1, 1) \ | 310 F(PromiseRevokeReject, 1, 1) \ |
313 F(PromiseResult, 1, 1) \ | |
314 F(PromiseStatus, 1, 1) \ | |
315 F(PromoteScheduledException, 0, 1) \ | 311 F(PromoteScheduledException, 0, 1) \ |
316 F(ReThrow, 1, 1) \ | 312 F(ReThrow, 1, 1) \ |
317 F(RunMicrotasks, 0, 1) \ | 313 F(RunMicrotasks, 0, 1) \ |
318 F(StackGuard, 0, 1) \ | 314 F(StackGuard, 0, 1) \ |
319 F(Throw, 1, 1) \ | 315 F(Throw, 1, 1) \ |
320 F(ThrowApplyNonFunction, 1, 1) \ | 316 F(ThrowApplyNonFunction, 1, 1) \ |
321 F(ThrowCannotConvertToPrimitive, 0, 1) \ | 317 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
322 F(ThrowCalledNonCallable, 1, 1) \ | 318 F(ThrowCalledNonCallable, 1, 1) \ |
323 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 319 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
324 F(ThrowConstructedNonConstructable, 1, 1) \ | 320 F(ThrowConstructedNonConstructable, 1, 1) \ |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 | 1130 |
1135 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1131 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1136 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1132 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1137 STATIC_ASSERT(LANGUAGE_END == 2); | 1133 STATIC_ASSERT(LANGUAGE_END == 2); |
1138 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1134 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1139 | 1135 |
1140 } // namespace internal | 1136 } // namespace internal |
1141 } // namespace v8 | 1137 } // namespace v8 |
1142 | 1138 |
1143 #endif // V8_RUNTIME_RUNTIME_H_ | 1139 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |