Lines Matching defs:function
4462 // being generated) is immovable or that the callee function cannot trigger
4463 // GC, since the callee function will return to it.
4870 // a1: function (passed through to callee)
4977 void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
4981 // You can't call a function without a valid frame.
4983 DCHECK_EQ(function, a1);
4986 // On function call, call into the debugger if necessary.
4987 CheckDebugHook(function, new_target, expected_parameter_count,
4997 // We call indirectly through the code field in the function to
5001 Ld(code, FieldMemOperand(function, JSFunction::kCodeOffset));
5019 Register function, Register new_target, Register actual_parameter_count,
5022 // You can't call a function without a valid frame.
5025 // Contract with called JS functions requires that function is passed in a1.
5026 DCHECK_EQ(function, a1);
5040 void MacroAssembler::InvokeFunction(Register function,
5045 // You can't call a function without a valid frame.
5048 // Contract with called JS functions requires that function is passed in a1.
5049 DCHECK_EQ(function, a1);
5051 // Get the function and setup the context.
5174 // If the expected number of arguments of the runtime function is
5192 const Runtime::Function* function = Runtime::FunctionForId(fid);
5193 DCHECK_EQ(1, function->result_size);
5194 if (function->nargs >= 0) {
5195 PrepareCEntryArgs(function->nargs);
5381 // [fp - 2 (==kSPOffset)] - sp of the called function
5428 // returned) and align the frame preparing for calling the runtime function.
5945 void TurboAssembler::CallCFunction(ExternalReference function,
5950 li(t9, function);
5954 void TurboAssembler::CallCFunction(Register function, int num_reg_arguments,
5957 CallCFunctionHelper(function, num_reg_arguments, num_double_arguments);
5960 void TurboAssembler::CallCFunction(ExternalReference function,
5962 CallCFunction(function, num_arguments, 0);
5965 void TurboAssembler::CallCFunction(Register function, int num_arguments) {
5966 CallCFunction(function, num_arguments, 0);
5969 void TurboAssembler::CallCFunctionHelper(Register function,
5974 // Make sure that the stack is aligned before calling a C function unless
5978 // PrepareCallCFunction. The C function must be called via t9, for mips ABI.
6001 // Just call directly. The function called cannot cause a GC, or
6006 if (function != t9) {
6007 mov(t9, function);
6008 function = t9;
6016 DCHECK(!AreAliased(pc_scratch, scratch, function));
6037 Call(function);