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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 F(Throw, 1, 1) \ | 326 F(Throw, 1, 1) \ |
327 F(ThrowApplyNonFunction, 1, 1) \ | 327 F(ThrowApplyNonFunction, 1, 1) \ |
328 F(ThrowCannotConvertToPrimitive, 0, 1) \ | 328 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
329 F(ThrowCalledNonCallable, 1, 1) \ | 329 F(ThrowCalledNonCallable, 1, 1) \ |
330 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 330 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
331 F(ThrowConstructedNonConstructable, 1, 1) \ | 331 F(ThrowConstructedNonConstructable, 1, 1) \ |
332 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 332 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
333 F(ThrowGeneratorRunning, 0, 1) \ | 333 F(ThrowGeneratorRunning, 0, 1) \ |
334 F(ThrowIllegalInvocation, 0, 1) \ | 334 F(ThrowIllegalInvocation, 0, 1) \ |
335 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 335 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
| 336 F(ThrowInvalidHint, 1, 1) \ |
336 F(ThrowInvalidStringLength, 0, 1) \ | 337 F(ThrowInvalidStringLength, 0, 1) \ |
337 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 338 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
338 F(ThrowSymbolIteratorInvalid, 0, 1) \ | 339 F(ThrowSymbolIteratorInvalid, 0, 1) \ |
339 F(ThrowNotGeneric, 1, 1) \ | 340 F(ThrowNotGeneric, 1, 1) \ |
340 F(ThrowReferenceError, 1, 1) \ | 341 F(ThrowReferenceError, 1, 1) \ |
341 F(ThrowStackOverflow, 0, 1) \ | 342 F(ThrowStackOverflow, 0, 1) \ |
342 F(ThrowTypeError, -1 /* >= 1 */, 1) \ | 343 F(ThrowTypeError, -1 /* >= 1 */, 1) \ |
343 F(ThrowUndefinedOrNullToObject, 1, 1) \ | 344 F(ThrowUndefinedOrNullToObject, 1, 1) \ |
344 F(Typeof, 1, 1) \ | 345 F(Typeof, 1, 1) \ |
345 F(UnwindAndFindExceptionHandler, 0, 1) | 346 F(UnwindAndFindExceptionHandler, 0, 1) |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1148 | 1149 |
1149 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1150 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
1150 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1151 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
1151 STATIC_ASSERT(LANGUAGE_END == 2); | 1152 STATIC_ASSERT(LANGUAGE_END == 2); |
1152 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1153 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
1153 | 1154 |
1154 } // namespace internal | 1155 } // namespace internal |
1155 } // namespace v8 | 1156 } // namespace v8 |
1156 | 1157 |
1157 #endif // V8_RUNTIME_RUNTIME_H_ | 1158 #endif // V8_RUNTIME_RUNTIME_H_ |
OLD | NEW |