Home | History | Annotate | Download | only in arm

Lines Matching refs:Function

132       info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
137 // r1: Callee's JS function.
145 // function calls.
179 // Argument to NewContext is the function, which is in r1.
264 // Check that the jump table is accessible from everywhere in the function
446 // Local or spill slot. Skip the frame pointer, function, and
460 // Local or spill slot. Skip the frame pointer, function, context,
588 void LCodeGen::CallRuntime(const Runtime::Function* function,
596 __ CallRuntime(function, num_arguments);
2064 if (class_name->IsEqualTo(CStrVector("Function"))) {
2066 // for both being a function type and being in the object type range.
2090 // Check if the constructor in the map is a function.
2093 // Objects with a non-function constructor have class 'Object'.
2101 // temp now contains the constructor function. Grab the
2149 ASSERT(ToRegister(instr->InputAt(1)).is(r1)); // Function is in r1.
2258 __ LoadHeapObject(InstanceofStub::right(), instr->function());
2459 Handle<JSFunction> function(lookup.GetConstantFunctionFromMap(*type));
2460 __ LoadHeapObject(result, function);
2521 Register function = ToRegister(instr->function());
2524 // Check that the function really is a function. Load map into the
2526 __ CompareObjectType(function, result, scratch, JS_FUNCTION_TYPE);
2529 // Make sure that the function has an instance prototype.
2535 // Get the prototype or initial map from the function.
2537 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2539 // Check that the function has a prototype or an initial map.
2544 // If the function does not have an initial map, we're done.
2804 Register function = ToRegister(instr->function());
2815 FieldMemOperand(function, JSFunction::kSharedFunctionInfoOffset));
2826 // Normal function. Replace undefined or null with global receiver.
2851 Register function = ToRegister(instr->function());
2856 ASSERT(function.is(r1)); // Required by InvokeFunction.
2859 // Copy the arguments to this function possibly from the
2893 __ InvokeFunction(function, actual, CALL_FUNCTION,
2953 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
2957 bool can_invoke_directly = !function->NeedsArgumentsAdaption() ||
2958 function->shared()->formal_parameter_count() == arity;
2964 __ LoadHeapObject(r1, function);
2967 (info()->closure()->context() != function->context()) ||
2976 if (!function->NeedsArgumentsAdaption()) {
2980 // Invoke function.
2990 __ InvokeFunction(function, count, CALL_FUNCTION, generator, call_kind);
3000 CallKnownFunction(instr->function(),
3425 ASSERT(ToRegister(instr->function()).is(r1));
3463 ASSERT(ToRegister(instr->function()).is(r1));
3503 CallRuntime(instr->function(), instr->arity(), instr);
4535 // Pick the right runtime function or stub to call.
4697 // Pick the right runtime function or stub to call.
4721 // r3 = JS function.
4735 // Create regexp literal using runtime function