| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 F(CreateListFromArrayLike, 1, 1) \ | 308 F(CreateListFromArrayLike, 1, 1) \ |
| 309 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ | 309 F(GetAndResetRuntimeCallStats, -1 /* <= 2 */, 1) \ |
| 310 F(ExportFromRuntime, 1, 1) \ | 310 F(ExportFromRuntime, 1, 1) \ |
| 311 F(IncrementUseCounter, 1, 1) \ | 311 F(IncrementUseCounter, 1, 1) \ |
| 312 F(InstallToContext, 1, 1) \ | 312 F(InstallToContext, 1, 1) \ |
| 313 F(Interrupt, 0, 1) \ | 313 F(Interrupt, 0, 1) \ |
| 314 F(IS_VAR, 1, 1) \ | 314 F(IS_VAR, 1, 1) \ |
| 315 F(NewReferenceError, 2, 1) \ | 315 F(NewReferenceError, 2, 1) \ |
| 316 F(NewSyntaxError, 2, 1) \ | 316 F(NewSyntaxError, 2, 1) \ |
| 317 F(NewTypeError, 2, 1) \ | 317 F(NewTypeError, 2, 1) \ |
| 318 F(OrdinaryHasInstance, 2, 1) \ | |
| 319 F(PromoteScheduledException, 0, 1) \ | 318 F(PromoteScheduledException, 0, 1) \ |
| 320 F(ReThrow, 1, 1) \ | 319 F(ReThrow, 1, 1) \ |
| 321 F(RunMicrotasks, 0, 1) \ | 320 F(RunMicrotasks, 0, 1) \ |
| 322 F(StackGuard, 0, 1) \ | 321 F(StackGuard, 0, 1) \ |
| 323 F(Throw, 1, 1) \ | 322 F(Throw, 1, 1) \ |
| 324 F(ThrowApplyNonFunction, 1, 1) \ | 323 F(ThrowApplyNonFunction, 1, 1) \ |
| 325 F(ThrowCannotConvertToPrimitive, 0, 1) \ | 324 F(ThrowCannotConvertToPrimitive, 0, 1) \ |
| 326 F(ThrowCalledNonCallable, 1, 1) \ | 325 F(ThrowCalledNonCallable, 1, 1) \ |
| 327 F(ThrowCalledOnNullOrUndefined, 1, 1) \ | 326 F(ThrowCalledOnNullOrUndefined, 1, 1) \ |
| 328 F(ThrowConstructedNonConstructable, 1, 1) \ | 327 F(ThrowConstructedNonConstructable, 1, 1) \ |
| 329 F(ThrowConstructorReturnedNonObject, 0, 1) \ | 328 F(ThrowConstructorReturnedNonObject, 0, 1) \ |
| 330 F(ThrowGeneratorRunning, 0, 1) \ | 329 F(ThrowGeneratorRunning, 0, 1) \ |
| 331 F(ThrowIllegalInvocation, 0, 1) \ | 330 F(ThrowIllegalInvocation, 0, 1) \ |
| 332 F(ThrowIncompatibleMethodReceiver, 2, 1) \ | 331 F(ThrowIncompatibleMethodReceiver, 2, 1) \ |
| 332 F(ThrowInstanceofNonobjectProto, 1, 1) \ |
| 333 F(ThrowInvalidHint, 1, 1) \ | 333 F(ThrowInvalidHint, 1, 1) \ |
| 334 F(ThrowInvalidStringLength, 0, 1) \ | 334 F(ThrowInvalidStringLength, 0, 1) \ |
| 335 F(ThrowInvalidTypedArrayAlignment, 2, 1) \ | 335 F(ThrowInvalidTypedArrayAlignment, 2, 1) \ |
| 336 F(ThrowIteratorResultNotAnObject, 1, 1) \ | 336 F(ThrowIteratorResultNotAnObject, 1, 1) \ |
| 337 F(ThrowSymbolIteratorInvalid, 0, 1) \ | 337 F(ThrowSymbolIteratorInvalid, 0, 1) \ |
| 338 F(ThrowNonCallableInInstanceOfCheck, 0, 1) \ | 338 F(ThrowNonCallableInInstanceOfCheck, 0, 1) \ |
| 339 F(ThrowNonObjectInInstanceOfCheck, 0, 1) \ | 339 F(ThrowNonObjectInInstanceOfCheck, 0, 1) \ |
| 340 F(ThrowNotConstructor, 1, 1) \ | 340 F(ThrowNotConstructor, 1, 1) \ |
| 341 F(ThrowRangeError, -1 /* >= 1 */, 1) \ | 341 F(ThrowRangeError, -1 /* >= 1 */, 1) \ |
| 342 F(ThrowReferenceError, 1, 1) \ | 342 F(ThrowReferenceError, 1, 1) \ |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 F(BitwiseAnd, 2, 1) \ | 459 F(BitwiseAnd, 2, 1) \ |
| 460 F(BitwiseOr, 2, 1) \ | 460 F(BitwiseOr, 2, 1) \ |
| 461 F(BitwiseXor, 2, 1) \ | 461 F(BitwiseXor, 2, 1) \ |
| 462 F(Equal, 2, 1) \ | 462 F(Equal, 2, 1) \ |
| 463 F(NotEqual, 2, 1) \ | 463 F(NotEqual, 2, 1) \ |
| 464 F(StrictEqual, 2, 1) \ | 464 F(StrictEqual, 2, 1) \ |
| 465 F(StrictNotEqual, 2, 1) \ | 465 F(StrictNotEqual, 2, 1) \ |
| 466 F(LessThan, 2, 1) \ | 466 F(LessThan, 2, 1) \ |
| 467 F(GreaterThan, 2, 1) \ | 467 F(GreaterThan, 2, 1) \ |
| 468 F(LessThanOrEqual, 2, 1) \ | 468 F(LessThanOrEqual, 2, 1) \ |
| 469 F(GreaterThanOrEqual, 2, 1) \ | 469 F(GreaterThanOrEqual, 2, 1) |
| 470 F(InstanceOf, 2, 1) | |
| 471 | 470 |
| 472 #define FOR_EACH_INTRINSIC_PROMISE(F) \ | 471 #define FOR_EACH_INTRINSIC_PROMISE(F) \ |
| 473 F(EnqueueMicrotask, 1, 1) \ | 472 F(EnqueueMicrotask, 1, 1) \ |
| 474 F(EnqueuePromiseReactionJob, 1, 1) \ | 473 F(EnqueuePromiseReactionJob, 1, 1) \ |
| 475 F(EnqueuePromiseResolveThenableJob, 1, 1) \ | 474 F(EnqueuePromiseResolveThenableJob, 1, 1) \ |
| 476 F(PromiseHookInit, 2, 1) \ | 475 F(PromiseHookInit, 2, 1) \ |
| 477 F(PromiseHookResolve, 1, 1) \ | 476 F(PromiseHookResolve, 1, 1) \ |
| 478 F(PromiseHookBefore, 1, 1) \ | 477 F(PromiseHookBefore, 1, 1) \ |
| 479 F(PromiseHookAfter, 1, 1) \ | 478 F(PromiseHookAfter, 1, 1) \ |
| 480 F(PromiseMarkAsHandled, 1, 1) \ | 479 F(PromiseMarkAsHandled, 1, 1) \ |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 kMaybeDeopted = 1 << 3, | 859 kMaybeDeopted = 1 << 3, |
| 861 kOptimized = 1 << 4, | 860 kOptimized = 1 << 4, |
| 862 kTurboFanned = 1 << 5, | 861 kTurboFanned = 1 << 5, |
| 863 kInterpreted = 1 << 6, | 862 kInterpreted = 1 << 6, |
| 864 }; | 863 }; |
| 865 | 864 |
| 866 } // namespace internal | 865 } // namespace internal |
| 867 } // namespace v8 | 866 } // namespace v8 |
| 868 | 867 |
| 869 #endif // V8_RUNTIME_RUNTIME_H_ | 868 #endif // V8_RUNTIME_RUNTIME_H_ |
| OLD | NEW |