Lines Matching defs:function
78 // Generate code for a JS function. On entry to the function the receiver
81 // formal parameter count expected by the function.
84 // o rdi: the JS function object being called (i.e. ourselves)
90 // The function builds a JS frame. Please see JavaScriptFrameConstants in
97 Comment cmnt(masm_, "[ function compiled by full code generator");
170 // Argument to NewContext is the function, which is still in rdi.
228 // Register holding this function and new target are both trashed in case we
233 // Possibly set up a local binding to the this function which is used in
237 Comment cmnt(masm_, "[ This function");
281 DCHECK(rdi.is(ArgumentsAccessNewDescriptor::function()));
294 // function, parameter pointer, parameter count.
728 // context. Otherwise, we let the Visit function deal with the
826 Handle<SharedFunctionInfo> function =
829 if (function.is_null()) return SetStackOverflow();
830 globals_->Add(function, zone());
848 // We know that we have written a function, which is not a smi.
1165 // flag, we need to use the runtime function so that the new function
1288 // This function is used only for loads, not stores, so it's safe to
1999 __ Drop(1); // The function is still on the stack; drop it.
2038 // Load suspended function and context.
2045 // Push holes for arguments to generator function.
2067 __ Push(rdi); // Callee's JS Function.
2615 // Get the target function.
2627 // Load the function from the receiver.
2633 // Push the target function under the receiver.
2652 // Load the function from the receiver.
2671 // Replace home_object with target function.
2675 // - target function
2689 // Load the function from the receiver.
2696 // Push the target function under the receiver.
2711 // Load the function from the receiver.
2730 // Replace home_object with target function.
2734 // - target function
2761 // Discard the function left on TOS.
2774 // Push the enclosing function.
2788 // See http://www.ecma-international.org/ecma-262/6.0/#sec-function-calls.
2798 // Call the runtime to find the function to call (returned in rax) and
2803 __ Push(rax); // Function.
2807 // If fast case code has been generated, emit code to push the function
2813 // Push function.
2831 // to resolve the function we need to call. Then we call the resolved
2832 // function using the given arguments.
2842 // Push a copy of the function (found below the arguments) and resolve
2865 // According to ECMA-262, section 11.2.2, page 44, the function
2869 // Push constructor on the stack. If it's not a function it's used as
2886 // Load function and argument count into rdi and rax.
2931 // Load function and argument count into rdi and rax.
3214 Label done, null, function, non_function_constructor;
3224 // Return 'Function' for JSFunction objects.
3226 __ j(equal, &function, Label::kNear);
3228 // Check if the constructor in the map is a JS function.
3233 // rax now contains the constructor function. Grab the
3244 // Functions have class 'Function'.
3245 __ bind(&function);
3249 // Objects with a non-function constructor have class 'Object'.
3562 // Discard the function left on TOS.
3622 // We will leave the separator on the stack until the end of the function.
3973 // Push the target function under the receiver.
3990 const Runtime::Function* function = expr->function();
3991 switch (function->function_id) {
4008 __ CallRuntime(function, arg_count);
4597 // Contexts nested in the native context have a canonical empty function