| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 327 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
| 328 F(ThrowConstructedNonConstructable, 1, 1) \ | 328 F(ThrowConstructedNonConstructable, 1, 1) \ |
| 329 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ | 329 F(ThrowDerivedConstructorReturnedNonObject, 0, 1) \ |
| 330 F(ThrowGeneratorRunning, 0, 1) \ | 330 F(ThrowGeneratorRunning, 0, 1) \ |
| 331 F(ThrowIllegalInvocation, 0, 1) \ | 331 F(ThrowIllegalInvocation, 0, 1) \ |
| 332 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 332 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
| 333 F(ThrowInvalidHint, 1, 1) \ | 333 F(ThrowInvalidHint, 1, 1) \ |
| 334 F(ThrowInvalidStringLength, 0, 1) \ | 334 F(ThrowInvalidStringLength, 0, 1) \ |
| 335 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 335 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 336 F(ThrowSymbolIteratorInvalid, 0, 1) \ | 336 F(ThrowSymbolIteratorInvalid, 0, 1) \ |
| 337 F(ThrowSymbolAsyncIteratorInvalid, 0, 1) \ |
| 337 F(ThrowNotGeneric, 1, 1) \ | 338 F(ThrowNotGeneric, 1, 1) \ |
| 338 F(ThrowReferenceError, 1, 1) \ | 339 F(ThrowReferenceError, 1, 1) \ |
| 339 F(ThrowStackOverflow, 0, 1) \ | 340 F(ThrowStackOverflow, 0, 1) \ |
| 340 F(ThrowTypeError, -1 /* >= 1 */, 1) \ | 341 F(ThrowTypeError, -1 /* >= 1 */, 1) \ |
| 341 F(ThrowUndefinedOrNullToObject, 1, 1) \ | 342 F(ThrowUndefinedOrNullToObject, 1, 1) \ |
| 342 F(Typeof, 1, 1) \ | 343 F(Typeof, 1, 1) \ |
| 343 F(UnwindAndFindExceptionHandler, 0, 1) \ | 344 F(UnwindAndFindExceptionHandler, 0, 1) \ |
| 344 F(AllowDynamicFunction, 1, 1) | 345 F(AllowDynamicFunction, 1, 1) \ |
| 346 F(CreateAsyncFromSyncIterator, 1, 1) |
| 345 | 347 |
| 346 #define FOR_EACH_INTRINSIC_LITERALS(F) \ | 348 #define FOR_EACH_INTRINSIC_LITERALS(F) \ |
| 347 F(CreateRegExpLiteral, 4, 1) \ | 349 F(CreateRegExpLiteral, 4, 1) \ |
| 348 F(CreateObjectLiteral, 4, 1) \ | 350 F(CreateObjectLiteral, 4, 1) \ |
| 349 F(CreateArrayLiteral, 4, 1) \ | 351 F(CreateArrayLiteral, 4, 1) \ |
| 350 F(CreateArrayLiteralStubBailout, 3, 1) | 352 F(CreateArrayLiteralStubBailout, 3, 1) |
| 351 | 353 |
| 352 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ | 354 #define FOR_EACH_INTRINSIC_LIVEEDIT(F) \ |
| 353 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ | 355 F(LiveEditFindSharedFunctionInfosForScript, 1, 1) \ |
| 354 F(LiveEditGatherCompileInfo, 2, 1) \ | 356 F(LiveEditGatherCompileInfo, 2, 1) \ |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1151 | 1153 |
| 1152 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; | 1154 class DeclareGlobalsEvalFlag : public BitField<bool, 0, 1> {}; |
| 1153 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; | 1155 class DeclareGlobalsNativeFlag : public BitField<bool, 1, 1> {}; |
| 1154 STATIC_ASSERT(LANGUAGE_END == 2); | 1156 STATIC_ASSERT(LANGUAGE_END == 2); |
| 1155 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; | 1157 class DeclareGlobalsLanguageMode : public BitField<LanguageMode, 2, 1> {}; |
| 1156 | 1158 |
| 1157 } // namespace internal | 1159 } // namespace internal |
| 1158 } // namespace v8 | 1160 } // namespace v8 |
| 1159 | 1161 |
| 1160 #endif // V8_RUNTIME_RUNTIME_H_ | 1162 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |