Lines Matching defs:args

1611       RegisterList args = register_allocator()->NewRegisterList(2);
1614 .StoreAccumulatorInRegister(args[0]);
1616 builder()->StoreAccumulatorInRegister(args[1]).CallRuntime(
1617 Runtime::kDeclareEvalFunction, args);
1652 RegisterList args = register_allocator()->NewRegisterList(2);
1655 .StoreAccumulatorInRegister(args[0])
1656 .MoveRegister(Register::function_closure(), args[1])
1657 .CallRuntime(id, args);
2635 RegisterList args = register_allocator()->NewGrowableRegisterList();
2637 Register class_boilerplate = register_allocator()->GrowRegisterList(&args);
2639 register_allocator()->GrowRegisterList(&args);
2640 Register super_class = register_allocator()->GrowRegisterList(&args);
2642 args.register_count());
2658 Register key = register_allocator()->GrowRegisterList(&args);
2697 Register value = register_allocator()->GrowRegisterList(&args);
2701 builder()->CallRuntime(Runtime::kDefineClass, args);
2783 RegisterList args = register_allocator()->NewRegisterList(1);
2787 ->MoveRegister(class_constructor, args[0])
2788 .CallProperty(initializer, args,
2892 RegisterList args = register_allocator()->NewRegisterList(2);
2895 .StoreAccumulatorInRegister(args[0])
2897 .StoreAccumulatorInRegister(args[1])
2898 .CallRuntime(Runtime::kNewTypeError, args)
2933 RegisterList args = register_allocator()->NewRegisterList(1);
2946 .MoveRegister(instance, args[0])
2947 .CallProperty(initializer, args,
3144 RegisterList args = register_allocator()->NewRegisterList(2);
3145 builder()->MoveRegister(literal, args[0]);
3148 VisitForRegisterValue(property->value(), args[1]);
3149 builder()->CallRuntime(Runtime::kInternalSetPrototype, args);
3170 RegisterList args = register_allocator()->NewRegisterList(5);
3171 builder()->MoveRegister(literal, args[0]);
3172 VisitForRegisterValue(accessors.first, args[1]);
3173 VisitLiteralAccessor(accessors.second->getter, args[2]);
3174 VisitLiteralAccessor(accessors.second->setter, args[3]);
3177 .StoreAccumulatorInRegister(args[4])
3178 .CallRuntime(Runtime::kDefineAccessorPropertyUnchecked, args);
3203 RegisterList args = register_allocator()->NewRegisterList(2);
3204 builder()->MoveRegister(literal, args[0]);
3209 VisitForRegisterValue(property->value(), args[1]);
3210 builder()->CallRuntime(Runtime::kInternalSetPrototype, args);
3266 RegisterList args = register_allocator()->NewRegisterList(4);
3267 builder()->MoveRegister(literal, args[0]);
3268 BuildLoadPropertyKey(property, args[1]);
3273 VisitForRegisterValue(property->value(), args[2]);
3276 .StoreAccumulatorInRegister(args[3]);
3281 builder()->CallRuntime(function_id, args);
3285 RegisterList args = register_allocator()->NewRegisterList(2);
3286 builder()->MoveRegister(literal, args[0]);
3289 VisitForRegisterValue(property->value(), args[1]);
3290 builder()->CallRuntime(Runtime::kInlineCopyDataProperties, args);
3658 RegisterList args = register_allocator()->NewRegisterList(3);
3660 ->MoveRegister(generator_object(), args[0]) // generator
3661 .StoreAccumulatorInRegister(args[1]) // value
3663 .StoreAccumulatorInRegister(args[2]) // done
3664 .CallRuntime(Runtime::kInlineAsyncGeneratorResolve, args);
3668 RegisterList args = register_allocator()->NewRegisterList(2);
3670 ->MoveRegister(generator_object(), args[0]) // generator
3671 .StoreAccumulatorInRegister(args[1]) // value
3672 .CallRuntime(Runtime::kInlineAsyncFunctionResolve, args);
4041 RegisterList args(iterator.object());
4043 method, args, feedback_index(feedback_spec()->AddCallICSlot()));
4686 RegisterList args = register_allocator()->NewRegisterList(3);
4688 ->MoveRegister(generator_object(), args[0]) // generator
4689 .StoreAccumulatorInRegister(args[1]) // value
4691 .StoreAccumulatorInRegister(args[2]) // is_caught
4692 .CallRuntime(Runtime::kInlineAsyncGeneratorYield, args);
4697 RegisterList args = register_allocator()->NewRegisterList(2);
4699 ->StoreAccumulatorInRegister(args[0]) // value
4701 .StoreAccumulatorInRegister(args[1]) // done
4702 .CallRuntime(Runtime::kInlineCreateIterResultObject, args);
4953 RegisterList args = register_allocator()->NewRegisterList(3);
4955 ->MoveRegister(generator_object(), args[0]) // generator
4956 .StoreAccumulatorInRegister(args[1]) // value
4958 .StoreAccumulatorInRegister(args[2]) // is_caught
4959 .CallRuntime(Runtime::kInlineAsyncGeneratorYield, args);
5021 RegisterList args = register_allocator()->NewRegisterList(2);
5023 ->MoveRegister(generator_object(), args[0])
5024 .StoreAccumulatorInRegister(args[1])
5025 .CallRuntime(await_intrinsic_id, args);
5130 RegisterList args = register_allocator()->NewRegisterList(1);
5135 .MoveRegister(object, args[0])
5136 .CallProperty(accessor, args,
5145 RegisterList args = register_allocator()->NewRegisterList(2);
5150 .MoveRegister(object, args[0])
5151 .MoveRegister(value, args[1])
5152 .CallProperty(accessor, args,
5167 RegisterList args = register_allocator()->NewRegisterList(2);
5172 .StoreAccumulatorInRegister(args[0])
5174 .StoreAccumulatorInRegister(args[1])
5175 .CallRuntime(Runtime::kNewError, args)
5185 RegisterList args = register_allocator()->NewRegisterList(3);
5187 ->StoreAccumulatorInRegister(args[2])
5189 .StoreAccumulatorInRegister(args[0])
5191 .StoreAccumulatorInRegister(args[1])
5192 .CallRuntime(Runtime::kNewTypeError, args)
5234 RegisterList args = register_allocator()->NewRegisterList(2);
5239 .StoreAccumulatorInRegister(args[0])
5241 .StoreAccumulatorInRegister(args[1])
5242 .CallRuntime(Runtime::kNewError, args)
5252 RegisterList args = register_allocator()->NewRegisterList(2);
5256 .StoreAccumulatorInRegister(args[0])
5258 .StoreAccumulatorInRegister(args[1])
5259 .CallRuntime(Runtime::kNewTypeError, args)
5297 RegisterList args = register_allocator()->NewRegisterList(3);
5299 builder()->StoreAccumulatorInRegister(args[0]);
5303 builder()->StoreAccumulatorInRegister(args[1]);
5307 .StoreAccumulatorInRegister(args[2])
5308 .CallRuntime(Runtime::kLoadFromSuper, args);
5311 builder()->MoveRegister(args[0], opt_receiver_out);
5319 RegisterList args = register_allocator()->NewRegisterList(3);
5321 builder()->StoreAccumulatorInRegister(args[0]);
5325 builder()->StoreAccumulatorInRegister(args[1]);
5326 VisitForRegisterValue(property->key(), args[2]);
5329 builder()->CallRuntime(Runtime::kLoadKeyedFromSuper, args);
5332 builder()->MoveRegister(args[0], opt_receiver_out);
5362 void BytecodeGenerator::VisitArguments(const ZonePtrList<Expression>* args,
5365 for (int i = 0; i < static_cast<int>(args->length()); i++) {
5366 VisitAndPushIntoRegisterList(args->at(i), arg_regs);
5390 // Grow the args list as we visit receiver / arguments to avoid allocating all
5394 RegisterList args = register_allocator()->NewGrowableRegisterList();
5396 // The callee is the first register in args for ease of calling %reflect_apply
5397 // if we have a non-final spread. For all other cases it is popped from args
5399 Register callee = register_allocator()->GrowRegisterList(&args);
5414 VisitAndPushIntoRegisterList(property->obj(), &args);
5415 VisitPropertyLoadForRegister(args.last_register(), property, callee);
5425 BuildPushUndefinedIntoRegisterList(&args);
5435 Register receiver = register_allocator()->GrowRegisterList(&args);
5461 BuildPushUndefinedIntoRegisterList(&args);
5467 Register receiver = register_allocator()->GrowRegisterList(&args);
5474 Register receiver = register_allocator()->GrowRegisterList(&args);
5486 VisitAndPushIntoRegisterList(property->obj(), &args);
5487 VisitPropertyLoad(args.last_register(), property);
5510 DCHECK_EQ(args.register_count(), 2);
5513 register_allocator()->GrowRegisterList(&args));
5517 // and store in sequential args registers.
5518 args = args.PopLeft();
5519 VisitArguments(expr->arguments(), &args);
5522 args.register_count());
5538 Register args_array = args[2];
5546 builder()->MoveRegister(args[receiver_arg_count], runtime_call_args[1]);
5568 builder()->CallWithSpread(callee, args,
5571 builder()->CallJSRuntime(Context::REFLECT_APPLY_INDEX, args);
5575 builder()->CallProperty(callee, args,
5579 callee, args, feedback_index(feedback_spec()->AddCallICSlot()));
5582 callee, args, feedback_index(feedback_spec()->AddCallICSlot()));
5589 const ZonePtrList<Expression>* args = expr->arguments();
5615 BuildCreateArrayLiteral(args, nullptr);
5628 VisitArguments(args, &args_regs);
5709 RegisterList args = register_allocator()->NewGrowableRegisterList();
5711 // Load the constructor. It's in the first register in args for ease of
5714 VisitAndPushIntoRegisterList(expr->expression(), &args);
5733 register_allocator()->GrowRegisterList(&args))
5734 .CallJSRuntime(Context::REFLECT_CONSTRUCT_INDEX, args);
5738 Register constructor = args.first_register();
5739 args = args.PopLeft();
5740 VisitArguments(expr->arguments(), &args);
5749 builder()->ConstructWithSpread(constructor, args, feedback_slot_index);
5752 builder()->Construct(constructor, args, feedback_slot_index);
5758 RegisterList args = register_allocator()->NewGrowableRegisterList();
5759 VisitArguments(expr->arguments(), &args);
5760 builder()->CallJSRuntime(expr->context_index(), args);
5763 RegisterList args = register_allocator()->NewGrowableRegisterList();
5764 VisitArguments(expr->arguments(), &args);
5766 builder()->CallRuntime(function_id, args);
6277 RegisterList args = register_allocator()->NewRegisterList(register_count);
6278 VisitForRegisterValue(expr->specifier(), args[1]);
6280 VisitForRegisterValue(expr->import_assertions(), args[2]);
6283 ->MoveRegister(Register::function_closure(), args[0])
6284 .CallRuntime(Runtime::kDynamicImportCall, args);
6416 RegisterList args = RegisterList(iterator.object());
6418 ast_string_constants()->return_string(), args,
6973 RegisterList args = register_allocator()->NewRegisterList(2);
6981 ->MoveRegister(Register::function_closure(), args[0])
6982 .MoveRegister(builder()->Receiver(), args[1])
6983 .CallRuntime(function_id, args)