Lines Matching refs:Function
136 info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
144 // function calls.
159 __ push(edi); // Callee's JS function.
191 // Argument to NewContext is the function, which is still in edi.
342 // Local or spill slot. Skip the frame pointer, function, and
477 void LCodeGen::CallRuntime(const Runtime::Function* fun,
1872 if (class_name->IsEqualTo(CStrVector("Function"))) {
1874 // for both being a function type and being in the object type range.
1898 // Check if the constructor in the map is a function.
1900 // Objects with a non-function constructor have class 'Object'.
1908 // temp now contains the constructor function. Grab the
1954 // Object and function are in fixed registers defined by the stub.
2053 __ LoadHeapObject(InstanceofStub::right(), instr->function());
2248 Handle<JSFunction> function(lookup.GetConstantFunctionFromMap(*type));
2249 __ LoadHeapObject(result, function);
2325 Register function = ToRegister(instr->function());
2329 // Check that the function really is a function.
2330 __ CmpObjectType(function, JS_FUNCTION_TYPE, result);
2333 // Check whether the function has an instance prototype.
2339 // Get the prototype or initial map from the function.
2341 FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2343 // Check that the function has a prototype or an initial map.
2347 // If the function does not have an initial map, we're done.
2357 // in the function's map.
2592 Register function = ToRegister(instr->function());
2603 FieldOperand(function, JSFunction::kSharedFunctionInfoOffset));
2613 // Normal function. Replace undefined or null with global receiver.
2640 Register function = ToRegister(instr->function());
2644 ASSERT(function.is(edi)); // Required by InvokeFunction.
2647 // Copy the arguments to this function possibly from the
2667 // Invoke the function.
2675 __ InvokeFunction(function, actual, CALL_FUNCTION,
2729 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
2733 bool can_invoke_directly = !function->NeedsArgumentsAdaption() ||
2734 function->shared()->formal_parameter_count() == arity;
2740 __ LoadHeapObject(edi, function);
2744 (info()->closure()->context() != function->context()) ||
2756 if (!function->NeedsArgumentsAdaption()) {
2760 // Invoke function directly.
2762 if (*function == *info()->closure()) {
2773 __ InvokeFunction(function, count, CALL_FUNCTION, generator, call_kind);
2780 CallKnownFunction(instr->function(),
3227 ASSERT(ToRegister(instr->function()).is(edi));
3266 ASSERT(ToRegister(instr->function()).is(edi));
3306 CallRuntime(instr->function(), instr->arity(), instr);
4384 // Pick the right runtime function or stub to call.
4550 // Pick the right runtime function or stub to call.
4575 // edi = JS function.
4588 // Create regexp literal using runtime function