diff options
Diffstat (limited to 'deps/v8/src/builtins/builtins-async-iterator-gen.cc')
-rw-r--r-- | deps/v8/src/builtins/builtins-async-iterator-gen.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/deps/v8/src/builtins/builtins-async-iterator-gen.cc b/deps/v8/src/builtins/builtins-async-iterator-gen.cc index 73e5605ccc..9e6223073f 100644 --- a/deps/v8/src/builtins/builtins-async-iterator-gen.cc +++ b/deps/v8/src/builtins/builtins-async-iterator-gen.cc @@ -274,12 +274,12 @@ AsyncFromSyncBuiltinsAssembler::LoadIteratorResult( // Section #sec-%asyncfromsynciteratorprototype%.next TF_BUILTIN(AsyncFromSyncIteratorPrototypeNext, AsyncFromSyncBuiltinsAssembler) { TNode<IntPtrT> argc = ChangeInt32ToIntPtr( - UncheckedCast<Int32T>(Parameter(Descriptor::kJSActualArgumentsCount))); + UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); CodeStubArguments args(this, argc); const TNode<Object> iterator = args.GetReceiver(); const TNode<Object> value = args.GetOptionalArgumentValue(kValueOrReasonArg); - const TNode<Context> context = CAST(Parameter(Descriptor::kContext)); + const auto context = Parameter<Context>(Descriptor::kContext); auto get_method = [=](const TNode<JSReceiver> unused) { return LoadObjectField(CAST(iterator), @@ -295,12 +295,12 @@ TF_BUILTIN(AsyncFromSyncIteratorPrototypeNext, AsyncFromSyncBuiltinsAssembler) { TF_BUILTIN(AsyncFromSyncIteratorPrototypeReturn, AsyncFromSyncBuiltinsAssembler) { TNode<IntPtrT> argc = ChangeInt32ToIntPtr( - UncheckedCast<Int32T>(Parameter(Descriptor::kJSActualArgumentsCount))); + UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); CodeStubArguments args(this, argc); const TNode<Object> iterator = args.GetReceiver(); const TNode<Object> value = args.GetOptionalArgumentValue(kValueOrReasonArg); - const TNode<Context> context = CAST(Parameter(Descriptor::kContext)); + const auto context = Parameter<Context>(Descriptor::kContext); auto if_return_undefined = [=, &args]( const TNode<NativeContext> native_context, @@ -328,12 +328,12 @@ TF_BUILTIN(AsyncFromSyncIteratorPrototypeReturn, TF_BUILTIN(AsyncFromSyncIteratorPrototypeThrow, AsyncFromSyncBuiltinsAssembler) { TNode<IntPtrT> argc = ChangeInt32ToIntPtr( - UncheckedCast<Int32T>(Parameter(Descriptor::kJSActualArgumentsCount))); + UncheckedParameter<Int32T>(Descriptor::kJSActualArgumentsCount)); CodeStubArguments args(this, argc); const TNode<Object> iterator = args.GetReceiver(); const TNode<Object> reason = args.GetOptionalArgumentValue(kValueOrReasonArg); - const TNode<Context> context = CAST(Parameter(Descriptor::kContext)); + const auto context = Parameter<Context>(Descriptor::kContext); auto if_throw_undefined = [=](const TNode<NativeContext> native_context, const TNode<JSPromise> promise, |