Lines Matching defs:function

2765   // being generated) is immovable or that the callee function cannot trigger
2766 // GC, since the callee function will return to it.
2987 // a1: function (passed through to callee)
3085 void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
3089 // You can't call a function without a valid frame.
3091 DCHECK_EQ(function, a1);
3094 // On function call, call into the debugger if necessary.
3110 // We call indirectly through the code field in the function to
3114 Ld_d(code, FieldMemOperand(function, JSFunction::kCodeOffset));
3128 CallDebugOnFunctionCall(function, new_target, expected_parameter_count,
3138 Register function, Register new_target, Register actual_parameter_count,
3141 // You can't call a function without a valid frame.
3144 // Contract with called JS functions requires that function is passed in a1.
3145 DCHECK_EQ(function, a1);
3159 void MacroAssembler::InvokeFunction(Register function,
3164 // You can't call a function without a valid frame.
3167 // Contract with called JS functions requires that function is passed in a1.
3168 DCHECK_EQ(function, a1);
3170 // Get the function and setup the context.
3299 // If the expected number of arguments of the runtime function is
3317 const Runtime::Function* function = Runtime::FunctionForId(fid);
3318 DCHECK_EQ(1, function->result_size);
3319 if (function->nargs >= 0) {
3320 PrepareCEntryArgs(function->nargs);
3504 // [fp - 2 (==kSPOffset)] - sp of the called function
3551 // returned) and align the frame preparing for calling the runtime function.
3936 void TurboAssembler::CallCFunction(ExternalReference function,
3941 li(t7, function);
3945 void TurboAssembler::CallCFunction(Register function, int num_reg_arguments,
3948 CallCFunctionHelper(function, num_reg_arguments, num_double_arguments);
3951 void TurboAssembler::CallCFunction(ExternalReference function,
3953 CallCFunction(function, num_arguments, 0);
3956 void TurboAssembler::CallCFunction(Register function, int num_arguments) {
3957 CallCFunction(function, num_arguments, 0);
3960 void TurboAssembler::CallCFunctionHelper(Register function,
3965 // Make sure that the stack is aligned before calling a C function unless
3989 // Just call directly. The function called cannot cause a GC, or
3994 if (function != t7) {
3995 mov(t7, function);
3996 function = t7;
4004 DCHECK(!AreAliased(pc_scratch, scratch, function));
4022 Call(function);
4077 // TODO(LOONG_dev): range check, add Pcadd macro function?