Lines Matching defs:function
47 #include "src/objects/js-function.h"
51 #include "src/objects/shared-function-info.h"
233 // TODO(v8:6666): If possible, refactor into a platform-independent function in
244 // TODO(v8:6666): If possible, refactor into a platform-independent function in
866 push(kJSFunctionRegister); // Callee's JS function.
1158 // If the expected number of arguments of the runtime function is
1185 const Runtime::Function* function = Runtime::FunctionForId(fid);
1186 DCHECK_EQ(1, function->result_size);
1187 if (function->nargs >= 0) {
1192 Move(kRuntimeCallArgCountRegister, Immediate(function->nargs));
1374 void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
1379 // You can't call a function without a valid frame.
1381 DCHECK_EQ(function, edi);
1386 // On function call, call into the debugger if necessary.
1405 // We call indirectly through the code field in the function to
1409 mov(ecx, FieldOperand(function, JSFunction::kCodeOffset));
1422 CallDebugOnFunctionCall(function, new_target, expected_parameter_count,
1433 // You can't call a function without a valid frame.
1456 // Load the function from the native context.
1795 void TurboAssembler::CallCFunction(ExternalReference function,
1798 Move(eax, Immediate(function));
1802 void TurboAssembler::CallCFunction(Register function, int num_arguments) {
1816 if (function == eax) pc_scratch = edx;
1817 if (function == ecx) scratch = edx;
1836 call(function);