Lines Matching refs:Function
138 info_->function()->name()->IsEqualTo(CStrVector(FLAG_stop_at))) {
143 // r1: Callee's JS function.
171 // Argument to NewContext is the function, which is in r1.
380 // Local or spill slot. Skip the frame pointer, function, and
394 // Local or spill slot. Skip the frame pointer, function, context,
510 void LCodeGen::CallRuntime(const Runtime::Function* function,
518 __ CallRuntime(function, num_arguments);
1894 // Functions have class 'Function'.
1896 if (class_name->IsEqualTo(CStrVector("Function"))) {
1902 // Check if the constructor in the map is a function.
1911 // Objects with a non-function constructor have class 'Object'.
1919 // temp now contains the constructor function. Grab the
1988 ASSERT(ToRegister(instr->InputAt(1)).is(r1)); // Function is in r1.
2001 ASSERT(ToRegister(instr->InputAt(1)).is(r1)); // Function is in r1.
2109 __ mov(InstanceofStub::right(), Operand(instr->function()));
2369 Register function = ToRegister(instr->function());
2372 // Check that the function really is a function. Load map into the
2374 __ CompareObjectType(function, result, scratch, JS_FUNCTION_TYPE);
2377 // Make sure that the function has an instance prototype.
2383 // Get the prototype or initial map from the function.
2385 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2387 // Check that the function has a prototype or an initial map.
2392 // If the function does not have an initial map, we're done.
2577 Register function = ToRegister(instr->function());
2582 ASSERT(function.is(r1)); // Required by InvokeFunction.
2606 // Copy the arguments to this function possibly from the
2643 __ InvokeFunction(function, actual, CALL_FUNCTION, &safepoint_generator);
2688 void LCodeGen::CallKnownFunction(Handle<JSFunction> function,
2693 (info()->closure()->context() != function->context()) ||
2702 if (!function->NeedsArgumentsAdaption()) {
2709 // Invoke function.
2723 __ mov(r1, Operand(instr->function()));
2724 CallKnownFunction(instr->function(), instr->arity(), instr);
2927 // Prepare arguments and call C function.
2935 // Prepare arguments and call C function.
2968 // Prepare arguments and call C function.
3103 CallRuntime(instr->function(), instr->arity(), instr);
3883 // Pick the right runtime function or stub to call.
3912 // Pick the right runtime function to call.
3931 // r3 = JS function.
3945 // Create regexp literal using runtime function