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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 F(ThrowConstructedNonConstructable, 1, 1) \ | 318 F(ThrowConstructedNonConstructable, 1, 1) \ |
319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 319 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
320 F(ThrowGeneratorRunning, 0, 1) \ | 320 F(ThrowGeneratorRunning, 0, 1) \ |
321 F(ThrowIllegalInvocation, 0, 1) \ | 321 F(ThrowIllegalInvocation, 0, 1) \ |
322 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 322 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
323 F(ThrowInvalidStringLength, 0, 1) \ | 323 F(ThrowInvalidStringLength, 0, 1) \ |
324 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 324 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
325 F(ThrowNotGeneric, 1, 1) \ | 325 F(ThrowNotGeneric, 1, 1) \ |
326 F(ThrowReferenceError, 1, 1) \ | 326 F(ThrowReferenceError, 1, 1) \ |
327 F(ThrowStackOverflow, 0, 1) \ | 327 F(ThrowStackOverflow, 0, 1) \ |
| 328 F(ThrowTypeError, -1 /* >= 1 */, 1) \ |
328 F(ThrowWasmError, 2, 1) \ | 329 F(ThrowWasmError, 2, 1) \ |
329 F(ThrowUndefinedOrNullToObject, 1, 1) \ | 330 F(ThrowUndefinedOrNullToObject, 1, 1) \ |
330 F(Typeof, 1, 1) \ | 331 F(Typeof, 1, 1) \ |
331 F(UnwindAndFindExceptionHandler, 0, 1) | 332 F(UnwindAndFindExceptionHandler, 0, 1) |
332 | 333 |
333 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 334 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
334 F(CreateRegExpLiteral, 4, 1) \ | 335 F(CreateRegExpLiteral, 4, 1) \ |
335 F(CreateObjectLiteral, 4, 1) \ | 336 F(CreateObjectLiteral, 4, 1) \ |
336 F(CreateArrayLiteral, 4, 1) \ | 337 F(CreateArrayLiteral, 4, 1) \ |
337 F(CreateArrayLiteralStubBailout, 3, 1) | 338 F(CreateArrayLiteralStubBailout, 3, 1) |
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1125 | 1126 |
1126 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1127 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1127 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1128 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1128 STATIC_ASSERT(LANGUAGE_END == 2); | 1129 STATIC_ASSERT(LANGUAGE_END == 2); |
1129 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1130 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1130 | 1131 |
1131 } // namespace internal | 1132 } // namespace internal |
1132 } // namespace v8 | 1133 } // namespace v8 |
1133 | 1134 |
1134 #endif // V8_RUNTIME_RUNTIME_H_ | 1135 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |