Lines Matching defs:function
85 // Generate code for a JS function. On entry to the function the receiver
88 // function.
91 // o r4: the JS function object being called (i.e., ourselves)
97 // o ip: our own function entry (required by the prologue)
99 // The function builds a JS frame. Please see JavaScriptFrameConstants in
106 Comment cmnt(masm_, "[ function compiled by full code generator");
133 // corresponding offset from the function entry.
182 // Argument to NewContext is the function, which is still in r4.
243 // Register holding this function and new target are both trashed in case we
248 // Possibly set up a local binding to the this function which is used in
252 Comment cmnt(masm_, "[ This function");
292 // Function uses arguments object.
294 DCHECK(r4.is(ArgumentsAccessNewDescriptor::function()));
308 // function, parameter pointer, parameter count.
733 // context. Otherwise, we let the Visit function deal with the
750 // The variable in the declaration always resides in the current function
834 Handle<SharedFunctionInfo> function =
837 if (function.is_null()) return SetStackOverflow();
838 globals_->Add(function, zone());
857 // We know that we have written a function, which is not a smi.
869 // Push initial value for function declaration.
1178 // flag, we need to use the runtime function so that the new function
1297 // This function is used only for loads, not stores, so it's safe to
2020 __ Drop(1); // The function is still on the stack; drop it.
2059 // Load suspended function and context.
2067 // Push holes for the rest of the arguments to the generator function.
2095 // r7 = callee's JS function.
2730 // Get the target function.
2744 // Load the function from the receiver.
2750 // Push the target function under the receiver.
2770 // Load the function from the receiver.
2789 // Replace home_object with target function.
2793 // - target function
2806 // Load the function from the receiver.
2813 // Push the target function under the receiver.
2829 // Load the function from the receiver.
2848 // Replace home_object with target function.
2852 // - target function
2890 // r6: the receiver of the enclosing function.
2905 // See http://www.ecma-international.org/ecma-262/6.0/#sec-function-calls.
2916 // Call the runtime to find the function to call (returned in r3) and
2922 __ Push(r3, r4); // Function, receiver.
2925 // If fast case code has been generated, emit code to push the function
2931 // Push function.
2951 // to resolve the function we need to call. Then we call the resolved
2952 // function using the given arguments.
2963 // Push a copy of the function (found below the arguments) and
2969 // Touch up the stack with the resolved function.
2988 // According to ECMA-262, section 11.2.2, page 44, the function
2992 // Push constructor on the stack. If it's not a function it's used as
3009 // Load function and argument count into r4 and r3.
3056 // Load function and argument count into r1 and r0.
3345 Label done, null, function, non_function_constructor;
3356 // Return 'Function' for JSFunction objects.
3358 __ beq(&function);
3360 // Check if the constructor in the map is a JS function.
3366 // r3 now contains the constructor function. Grab the
3373 // Functions have class 'Function'.
3374 __ bind(&function);
3378 // Objects with a non-function constructor have class 'Object'.
3680 // Discard the function left on TOS.
4055 // Push the target function under the receiver.
4074 const Runtime::Function* function = expr->function();
4075 switch (function->function_id) {
4090 // Call the C runtime function.
4092 __ CallRuntime(expr->function(), arg_count);
4671 // Contexts nested in the native context have a canonical empty function