Lines Matching defs:function
79 // Generate code for a JS function. On entry to the function the receiver
82 // formal parameter count expected by the function.
85 // o edi: the JS function object being called (i.e. ourselves)
91 // The function builds a JS frame. Please see JavaScriptFrameConstants in
98 Comment cmnt(masm_, "[ function compiled by full code generator");
172 // Argument to NewContext is the function, which is still in edi.
233 // Register holding this function and new target are both trashed in case we
238 // Possibly set up a local binding to the this function which is used in
242 Comment cmnt(masm_, "[ This function");
281 // Function uses arguments object.
283 DCHECK(edi.is(ArgumentsAccessNewDescriptor::function()));
296 // function, parameter pointer, parameter count.
716 // context. Otherwise, we let the Visit function deal with the
814 Handle<SharedFunctionInfo> function =
817 if (function.is_null()) return SetStackOverflow();
818 globals_->Add(function, zone());
835 // We know that we have written a function, which is not a smi.
1137 // flag, we need to use the runtime function so that the new function
1257 // This function is used only for loads, not stores, so it's safe to
1973 __ Drop(1); // The function is still on the stack; drop it.
2014 // Load suspended function and context.
2021 // Push holes for arguments to generator function.
2043 __ push(edi); // Callee's JS Function.
2630 // Get the target function.
2642 // Load the function from the receiver.
2648 // Push the target function under the receiver.
2667 // Load the function from the receiver.
2685 // Replace home_object with target function.
2689 // - target function
2703 // Load the function from the receiver.
2710 // Push the target function under the receiver.
2725 // Load the function from the receiver.
2743 // Replace home_object with target function.
2747 // - target function
2787 // Push the enclosing function.
2801 // See http://www.ecma-international.org/ecma-262/6.0/#sec-function-calls.
2812 // Call the runtime to find the function to call (returned in eax) and
2817 __ push(eax); // Function.
2821 // If fast case code has been generated, emit code to push the function
2827 // Push function.
2830 // passing the hole to the call function stub.
2844 // to resolve the function we need to call. Then we call the resolved
2845 // function using the given arguments.
2856 // Push a copy of the function (found below the arguments) and
2861 // Touch up the stack with the resolved function.
2879 // According to ECMA-262, section 11.2.2, page 44, the function
2883 // Push constructor on the stack. If it's not a function it's used as
2900 // Load function and argument count into edi and eax.
2945 // Load function and argument count into edi and eax.
3226 Label done, null, function, non_function_constructor;
3236 // Return 'Function' for JSFunction objects.
3238 __ j(equal, &function, Label::kNear);
3240 // Check if the constructor in the map is a JS function.
3245 // eax now contains the constructor function. Grab the
3256 // Functions have class 'Function'.
3257 __ bind(&function);
3261 // Objects with a non-function constructor have class 'Object'.
3578 // Discard the function left on TOS.
3639 // We will leave the separator on the stack until the end of the function.
3968 // Push the target function under the receiver.
3985 const Runtime::Function* function = expr->function();
3986 switch (function->function_id) {
4001 // Call the C runtime function.
4003 __ CallRuntime(expr->function(), arg_count);
4595 // Contexts nested in the native context have a canonical empty function