Home | History | Annotate | Download | only in mips

Lines Matching refs:Function

130       info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
135 // a1: Callee's JS function.
143 // function calls.
177 // Argument to NewContext is the function, which is in a1.
414 // Local or spill slot. Skip the frame pointer, function, and
428 // Local or spill slot. Skip the frame pointer, function, context,
549 void LCodeGen::CallRuntime(const Runtime::Function* function,
557 __ CallRuntime(function, num_arguments);
1929 if (class_name->IsEqualTo(CStrVector("Function"))) {
1931 // for both being a function type and being in the object type range.
1953 function.
1956 // Objects with a non-function constructor have class 'Object'.
1964 // temp now contains the constructor function. Grab the
2013 ASSERT(ToRegister(instr->InputAt(1)).is(a1)); // Function is in a1.
2128 __ LoadHeapObject(InstanceofStub::right(), instr->function());
2337 Handle<JSFunction> function(lookup.GetConstantFunctionFromMap(*type));
2338 __ LoadHeapObject(result, function);
2397 Register function = ToRegister(instr->function());
2400 // Check that the function really is a function. Load map into the
2402 __ GetObjectType(function, result, scratch);
2405 // Make sure that the function has an instance prototype.
2411 // Get the prototype or initial map from the function.
2413 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2415 // Check that the function has a prototype or an initial map.
2419 // If the function does not have an initial map, we're done.
2690 Register function = ToRegister(instr->function());
2701 FieldMemOperand(function, JSFunction::kSharedFunctionInfoOffset));
2712 // Normal function. Replace undefined or null with global receiver.
2736 Register function = ToRegister(instr->function());
2741 ASSERT(function.is(a1)); // Required by InvokeFunction.
2744 // Copy the arguments to this function possibly from the
2779 __ InvokeFunction(function, actual, CALL_FUNCTION,
2838 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
2842 function->NeedsArgumentsAdaption() ||
2843 function->shared()->formal_parameter_count() == arity;
2849 __ LoadHeapObject(a1, function);
2852 (info()->closure()->context() != function->context()) ||
2861 if (!function->NeedsArgumentsAdaption()) {
2865 // Invoke function.
2875 __ InvokeFunction(function, count, CALL_FUNCTION, generator, call_kind);
2886 CallKnownFunction(instr->function(), instr->arity(), instr, CALL_AS_METHOD);
3320 ASSERT(ToRegister(instr->function()).is(a1));
3358 ASSERT(ToRegister(instr->function()).is(a1));
3398 CallRuntime(instr->function(), instr->arity(), instr);
4430 // Pick the right runtime function or stub to call.
4594 // Pick the right runtime function or stub to call.
4619 // a3 = JS function.
4632 // Create regexp literal using runtime function
4731 // This function utilizes the delay slot heavily. This is used to load