Lines Matching defs:function
1694 void MacroAssembler::CallRuntime(const Runtime::Function* f,
1697 // All arguments must be on the stack before this function is called.
1700 // Check that the number of arguments matches what the function expects.
1701 // If f->nargs is -1, the function can accept a variable number of arguments.
1744 const Runtime::Function* function = Runtime::FunctionForId(fid);
1745 DCHECK_EQ(1, function->result_size);
1746 if (function->nargs >= 0) {
1751 Mov(x0, function->nargs);
1790 void MacroAssembler::CallCFunction(ExternalReference function,
1792 CallCFunction(function, num_of_reg_args, 0);
1796 void MacroAssembler::CallCFunction(ExternalReference function,
1801 Mov(temp, function);
1806 void MacroAssembler::CallCFunction(Register function,
1846 // Call directly. The function called cannot cause a GC, or allow preemption,
1848 Call(function);
1932 // MacroAssembler::CallSize is sensitive to changes in this function, as it
2340 // x1: function (passed through to callee).
2444 void MacroAssembler::InvokeFunctionCode(Register function, Register new_target,
2449 // You can't call a function without a valid frame.
2451 DCHECK(function.is(x1));
2454 FloodFunctionIfStepping(function, new_target, expected, actual);
2468 // The called function expects the call kind in x5.
2470 // We call indirectly through the code field in the function to
2474 Ldr(code, FieldMemOperand(function, JSFunction::kCodeEntryOffset));
2491 void MacroAssembler::InvokeFunction(Register function,
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(function.is(x1));
2505 Ldr(cp, FieldMemOperand(function, JSFunction::kContextOffset));
2509 Ldr(expected_reg, FieldMemOperand(function,
2516 InvokeFunctionCode(function, new_target, expected, actual, flag,
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(function.Is(x1));
2534 Ldr(cp, FieldMemOperand(function, JSFunction::kContextOffset));
2536 InvokeFunctionCode(function, no_reg, expected, actual, flag, call_wrapper);
2540 void MacroAssembler::InvokeFunction(Handle<JSFunction> function,
2545 // Contract with called JS functions requires that function is passed in x1.
2547 __ LoadObject(x1, function);
2880 // Slot is in the current function context. Move it into the
3451 void MacroAssembler::TryGetFunctionPrototype(Register function, Register result,
3453 DCHECK(!AreAliased(function, result, scratch));
3455 // Get the prototype or initial map from the function.
3457 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
3464 // If the function does not have an initial map, we're done.
3924 // This function implements the mapping of register code to index into the
4451 // Check that the function's map is the same as the expected cached map.
4470 void MacroAssembler::LoadGlobalFunctionInitialMap(Register function,
4474 Ldr(map, FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
4619 // printf function will use a different instruction set and the procedure-call