Lines Matching defs:function
1673 // All arguments must be on the stack before this function is called.
1676 // Check that the number of arguments matches what the function expects.
1677 // If f->nargs is -1, the function can accept a variable number of arguments.
1706 const Runtime::Function* function = Runtime::FunctionForId(fid);
1707 DCHECK_EQ(1, function->result_size);
1708 if (function->nargs >= 0) {
1713 Mov(x0, function->nargs);
1734 void TurboAssembler::CallCFunction(ExternalReference function,
1736 CallCFunction(function, num_of_reg_args, 0);
1739 void TurboAssembler::CallCFunction(ExternalReference function,
1745 Mov(temp, function);
1752 void TurboAssembler::CallCFunction(Register function, int num_of_reg_args,
1786 // Call directly. The function called cannot cause a GC, or allow preemption,
1788 Call(function);
2215 // being generated) is immovable or that the callee function cannot trigger
2216 // GC, since the callee function will return to it.
2305 // x1: function (passed through to callee).
2431 void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
2436 // You can't call a function without a valid frame.
2438 DCHECK_EQ(function, x1);
2441 // On function call, call into the debugger if necessary.
2460 // The called function expects the call kind in x5.
2461 // We call indirectly through the code field in the function to
2466 FieldMemOperand(function, JSFunction::kCodeOffset));
2479 CallDebugOnFunctionCall(function, new_target, expected_parameter_count,
2493 Register function, Register new_target, Register actual_parameter_count,
2496 // You can't call a function without a valid frame.
2499 // Contract with called JS functions requires that function is passed in x1.
2501 DCHECK_EQ(function, x1);
2506 FieldMemOperand(function, JSFunction::kContextOffset));
2512 FieldMemOperand(function, JSFunction::kSharedFunctionInfoOffset));
2517 InvokeFunctionCode(function, new_target, expected_parameter_count,
2521 void MacroAssembler::InvokeFunction(Register function,
2526 // You can't call a function without a valid frame.
2529 // Contract with called JS functions requires that function is passed in x1.
2531 DCHECK_EQ(function, x1);
2535 FieldMemOperand(function, JSFunction::kContextOffset));
2537 InvokeFunctionCode(function, no_reg, expected_parameter_count,
3573 // printf function will use a different instruction set and the procedure-call