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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 F(NewReferenceError, 2, 1) \ | 296 F(NewReferenceError, 2, 1) \ |
297 F(ThrowCannotConvertToPrimitive, 0, 1) \ | 297 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
298 F(ThrowIllegalInvocation, 0, 1) \ | 298 F(ThrowIllegalInvocation, 0, 1) \ |
299 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 299 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
300 F(ThrowInvalidStringLength, 0, 1) \ | 300 F(ThrowInvalidStringLength, 0, 1) \ |
301 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 301 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
302 F(ThrowNotGeneric, 1, 1) \ | 302 F(ThrowNotGeneric, 1, 1) \ |
303 F(ThrowGeneratorRunning, 0, 1) \ | 303 F(ThrowGeneratorRunning, 0, 1) \ |
304 F(ThrowStackOverflow, 0, 1) \ | 304 F(ThrowStackOverflow, 0, 1) \ |
305 F(ThrowWasmError, 2, 1) \ | 305 F(ThrowWasmError, 2, 1) \ |
306 F(JITSingleFunction, -1 /* >= 7 */, 1) \ | |
307 F(PromiseRejectEvent, 3, 1) \ | 306 F(PromiseRejectEvent, 3, 1) \ |
308 F(PromiseRevokeReject, 1, 1) \ | 307 F(PromiseRevokeReject, 1, 1) \ |
309 F(StackGuard, 0, 1) \ | 308 F(StackGuard, 0, 1) \ |
310 F(Interrupt, 0, 1) \ | 309 F(Interrupt, 0, 1) \ |
311 F(AllocateInNewSpace, 1, 1) \ | 310 F(AllocateInNewSpace, 1, 1) \ |
312 F(AllocateInTargetSpace, 2, 1) \ | 311 F(AllocateInTargetSpace, 2, 1) \ |
313 F(AllocateSeqOneByteString, 1, 1) \ | 312 F(AllocateSeqOneByteString, 1, 1) \ |
314 F(AllocateSeqTwoByteString, 1, 1) \ | 313 F(AllocateSeqTwoByteString, 1, 1) \ |
315 F(MessageGetStartPosition, 1, 1) \ | 314 F(MessageGetStartPosition, 1, 1) \ |
316 F(MessageGetScript, 1, 1) \ | 315 F(MessageGetScript, 1, 1) \ |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 | 1128 |
1130 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1129 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1131 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1130 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1132 STATIC_ASSERT(LANGUAGE_END == 3); | 1131 STATIC_ASSERT(LANGUAGE_END == 3); |
1133 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; | 1132 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 2> {}; |
1134 | 1133 |
1135 } // namespace internal | 1134 } // namespace internal |
1136 } // namespace v8 | 1135 } // namespace v8 |
1137 | 1136 |
1138 #endif // V8_RUNTIME_RUNTIME_H_ | 1137 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |