Home | History | Annotate | Download | only in arm

Lines Matching refs:Function

853   // preparing for calling the runtime function.
971 // r1: function (passed through to callee)
1042 // You can't call a function without a valid frame.
1075 // You can't call a function without a valid frame.
1104 // You can't call a function without a valid frame.
1107 // Contract with called JS functions requires that function is passed in r1.
1127 void MacroAssembler::InvokeFunction(Handle<JSFunction> function,
1132 // You can't call a function without a valid frame.
1135 // Get the function and setup the context.
1136 LoadHeapObject(r1, function);
1139 ParameterCount expected(function->shared()->formal_parameter_count());
1140 // We call indirectly through the code field in the function to
2070 void MacroAssembler::TryGetFunctionPrototype(Register function,
2076 JumpIfSmi(function, miss);
2078 // Check that the function really is a function. Load map into result reg.
2079 CompareObjectType(function, result, scratch, JS_FUNCTION_TYPE);
2084 FieldMemOperand(function, JSFunction::kSharedFunctionInfoOffset));
2092 // Make sure that the function has an instance prototype.
2098 // Get the prototype or initial map from the function.
2100 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2109 // If the function does not have an initial map, we're done.
2145 void MacroAssembler::CallApiFunctionAndReturn(ExternalReference function,
2169 stub.GenerateCall(this, function);
2195 // Check if the function scheduled an exception.
2596 void MacroAssembler::CallRuntime(const Runtime::Function* f,
2600 // If the expected number of arguments of the runtime function is
2625 const Runtime::Function* function = Runtime::FunctionForId(id);
2626 mov(r0, Operand(function->nargs));
2627 mov(r1, Operand(ExternalReference(function, isolate())));
2700 // Load the JavaScript builtin function from the builtins object.
2849 // Slot is in the current function context. Move it into the
2867 // Check that the function's map is the same as the expected cached map.
2898 void MacroAssembler::LoadGlobalFunction(int index, Register function) {
2900 ldr(function, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_INDEX)));
2902 ldr(function, FieldMemOperand(function,
2904 // Load the function from the global context.
2905 ldr(function, MemOperand(function, Context::SlotOffset(index)));
2909 void MacroAssembler::LoadGlobalFunctionInitialMap(Register function,
2913 ldr(map, FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
3354 void MacroAssembler::CallCFunction(ExternalReference function,
3357 mov(ip, Operand(function));
3362 void MacroAssembler::CallCFunction(Register function,
3365 CallCFunctionHelper(function, num_reg_arguments, num_double_arguments);
3369 void MacroAssembler::CallCFunction(ExternalReference function,
3371 CallCFunction(function, num_arguments, 0);
3375 void MacroAssembler::CallCFunction(Register function,
3377 CallCFunction(function, num_arguments, 0);
3381 void MacroAssembler::CallCFunctionHelper(Register function,
3385 // Make sure that the stack is aligned before calling a C function unless
3405 // Just call directly. The function called cannot cause a GC, or
3408 Call(function);