| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 F(ThrowCannotConvertToPrimitive, 0, 1) \ | 323 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
| 324 F(ThrowCalledNonCallable, 1, 1) \ | 324 F(ThrowCalledNonCallable, 1, 1) \ |
| 325 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 325 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
| 326 F(ThrowConstructedNonConstructable, 1, 1) \ | 326 F(ThrowConstructedNonConstructable, 1, 1) \ |
| 327 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 327 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
| 328 F(ThrowGeneratorRunning, 0, 1) \ | 328 F(ThrowGeneratorRunning, 0, 1) \ |
| 329 F(ThrowIllegalInvocation, 0, 1) \ | 329 F(ThrowIllegalInvocation, 0, 1) \ |
| 330 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 330 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
| 331 F(ThrowInvalidStringLength, 0, 1) \ | 331 F(ThrowInvalidStringLength, 0, 1) \ |
| 332 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 332 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 333 F(ThrowSymbolIteratorInvalid, 0, 1) \ |
| 333 F(ThrowNotGeneric, 1, 1) \ | 334 F(ThrowNotGeneric, 1, 1) \ |
| 334 F(ThrowReferenceError, 1, 1) \ | 335 F(ThrowReferenceError, 1, 1) \ |
| 335 F(ThrowStackOverflow, 0, 1) \ | 336 F(ThrowStackOverflow, 0, 1) \ |
| 336 F(ThrowTypeError, -1 /* >= 1 */, 1) \ | 337 F(ThrowTypeError, -1 /* >= 1 */, 1) \ |
| 337 F(ThrowUndefinedOrNullToObject, 1, 1) \ | 338 F(ThrowUndefinedOrNullToObject, 1, 1) \ |
| 338 F(Typeof, 1, 1) \ | 339 F(Typeof, 1, 1) \ |
| 339 F(UnwindAndFindExceptionHandler, 0, 1) | 340 F(UnwindAndFindExceptionHandler, 0, 1) |
| 340 | 341 |
| 341 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 342 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
| 342 F(CreateRegExpLiteral, 4, 1) \ | 343 F(CreateRegExpLiteral, 4, 1) \ |
| (...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1135 | 1136 |
| 1136 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1137 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1137 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1138 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1138 STATIC_ASSERT(LANGUAGE_END == 2); | 1139 STATIC_ASSERT(LANGUAGE_END == 2); |
| 1139 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1140 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
| 1140 | 1141 |
| 1141 } // namespace internal | 1142 } // namespace internal |
| 1142 } // namespace v8 | 1143 } // namespace v8 |
| 1143 | 1144 |
| 1144 #endif // V8_RUNTIME_RUNTIME_H_ | 1145 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |