Lines Matching refs:Function
133 info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
140 // object). rcx is zero for method calls and non-zero for function
156 __ push(rdi); // Callee's JS function.
189 // Argument to NewContext is the function, which is still in rdi.
350 // Local or spill slot. Skip the frame pointer, function, and
479 void LCodeGen::CallRuntime(const Runtime::Function* function,
487 __ CallRuntime(function, num_arguments);
1828 if (class_name->IsEqualTo(CStrVector("Function"))) {
1830 // for both being a function type and being in the object type range.
1854 // Check if the constructor in the map is a function.
1857 // Objects with a non-function constructor have class 'Object'.
1865 // temp now contains the constructor function. Grab the
2001 function());
2216 Handle<JSFunction> function(lookup.GetConstantFunctionFromMap(*type));
2217 __ LoadHeapObject(result, function);
2276 Register function = ToRegister(instr->function());
2279 // Check that the function really is a function.
2280 __ CmpObjectType(function, JS_FUNCTION_TYPE, result);
2283 // Check whether the function has an instance prototype.
2289 // Get the prototype or initial map from the function.
2291 FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2293 // Check that the function has a prototype or an initial map.
2297 // If the function does not have an initial map, we're done.
2307 // in the function's map.
2548 Register function = ToRegister(instr->function());
2558 FieldOperand(function, JSFunction::kSharedFunctionInfoOffset));
2570 // Normal function. Replace undefined or null with global receiver.
2596 Register function = ToRegister(instr->function());
2600 ASSERT(function.is(rdi)); // Required by InvokeFunction.
2603 // Copy the arguments to this function possibly from the
2623 // Invoke the function.
2631 __ InvokeFunction(function, actual, CALL_FUNCTION,
2684 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
2688 bool can_invoke_directly = !function->NeedsArgumentsAdaption() ||
2689 function->shared()->formal_parameter_count() == arity;
2695 __ LoadHeapObject(rdi, function);
2699 (info()->closure()->context() != function->context()) ||
2708 if (!function->NeedsArgumentsAdaption()) {
2712 // Invoke function.
2714 if (*function == *info()->closure()) {
2727 __ InvokeFunction(function, count, CALL_FUNCTION, generator, call_kind);
2737 CallKnownFunction(instr->function(),
3175 ASSERT(ToRegister(instr->function()).is(rdi));
3213 ASSERT(ToRegister(instr->function()).is(rdi));
3252 CallRuntime(instr->function(), instr->arity(), instr);
4157 // Pick the right runtime function or stub to call.
4315 // Pick the right runtime function or stub to call.
4339 // rdi = JS function.
4351 // Create regexp literal using runtime function