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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 F(ThrowWasmError, 2, 1) \ | 305 F(ThrowWasmError, 2, 1) \ |
306 F(JITSingleFunction, -1 /* >= 7 */, 1) \ | 306 F(JITSingleFunction, -1 /* >= 7 */, 1) \ |
307 F(PromiseRejectEvent, 3, 1) \ | 307 F(PromiseRejectEvent, 3, 1) \ |
308 F(PromiseRevokeReject, 1, 1) \ | 308 F(PromiseRevokeReject, 1, 1) \ |
309 F(StackGuard, 0, 1) \ | 309 F(StackGuard, 0, 1) \ |
310 F(Interrupt, 0, 1) \ | 310 F(Interrupt, 0, 1) \ |
311 F(AllocateInNewSpace, 1, 1) \ | 311 F(AllocateInNewSpace, 1, 1) \ |
312 F(AllocateInTargetSpace, 2, 1) \ | 312 F(AllocateInTargetSpace, 2, 1) \ |
313 F(AllocateSeqOneByteString, 1, 1) \ | 313 F(AllocateSeqOneByteString, 1, 1) \ |
314 F(AllocateSeqTwoByteString, 1, 1) \ | 314 F(AllocateSeqTwoByteString, 1, 1) \ |
315 F(MessageGetStartPosition, 1, 1) \ | |
316 F(MessageGetScript, 1, 1) \ | |
317 F(IS_VAR, 1, 1) \ | 315 F(IS_VAR, 1, 1) \ |
318 F(ThrowConstructedNonConstructable, 1, 1) \ | 316 F(ThrowConstructedNonConstructable, 1, 1) \ |
319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 317 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
320 F(ThrowCalledNonCallable, 1, 1) \ | 318 F(ThrowCalledNonCallable, 1, 1) \ |
321 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 319 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
322 F(CreateListFromArrayLike, 1, 1) \ | 320 F(CreateListFromArrayLike, 1, 1) \ |
323 F(IncrementUseCounter, 1, 1) \ | 321 F(IncrementUseCounter, 1, 1) \ |
324 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 322 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
325 F(EnqueueMicrotask, 1, 1) \ | 323 F(EnqueueMicrotask, 1, 1) \ |
326 F(RunMicrotasks, 0, 1) \ | 324 F(RunMicrotasks, 0, 1) \ |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 | 1127 |
1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1128 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1129 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1132 STATIC_ASSERT(LANGUAGE_END == 3); | 1130 STATIC_ASSERT(LANGUAGE_END == 3); |
1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1131 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1134 | 1132 |
1135 } // namespace internal | 1133 } // namespace internal |
1136 } // namespace v8 | 1134 } // namespace v8 |
1137 | 1135 |
1138 #endif // V8_RUNTIME_RUNTIME_H_ | 1136 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |