Lines Matching defs:function
88 // Generate code for a JS function. On entry to the function the receiver
91 // function.
94 // o r1: the JS function object being called (i.e., ourselves)
102 // The function builds a JS frame. Please see JavaScriptFrameConstants in
109 Comment cmnt(masm_, "[ function compiled by full code generator");
177 // Argument to NewContext is the function, which is still in r1.
238 // Register holding this function and new target are both trashed in case we
243 // Possibly set up a local binding to the this function which is used in
247 Comment cmnt(masm_, "[ This function");
287 // Function uses arguments object.
289 DCHECK(r1.is(ArgumentsAccessNewDescriptor::function()));
303 // function, parameter pointer, parameter count.
772 // context. Otherwise, we let the Visit function deal with the
789 // The variable in the declaration always resides in the current function
873 Handle<SharedFunctionInfo> function =
876 if (function.is_null()) return SetStackOverflow();
877 globals_->Add(function, zone());
895 // We know that we have written a function, which is not a smi.
912 // Push initial value for function declaration.
1217 // flag, we need to use the runtime function so that the new function
1339 // This function is used only for loads, not stores, so it's safe to
2063 __ Drop(1); // The function is still on the stack; drop it.
2103 // Load suspended function and context.
2111 // Push holes for the rest of the arguments to the generator function.
2134 // r4 = callee's JS function.
2740 // Get the target function.
2753 // Load the function from the receiver.
2759 // Push the target function under the receiver.
2779 // Load the function from the receiver.
2800 // Replace home_object with target function.
2804 // - target function
2818 // Load the function from the receiver.
2825 // Push the target function under the receiver.
2841 // Load the function from the receiver.
2862 // Replace home_object with target function.
2866 // - target function
2904 // r3: the receiver of the enclosing function.
2919 // See http://www.ecma-international.org/ecma-262/6.0/#sec-function-calls.
2930 // Call the runtime to find the function to call (returned in r0)
2936 __ Push(r0, r1); // Function, receiver.
2940 // function and receiver and have the slow path jump around this
2946 // Push function.
2949 // by passing the hole to the call function stub.
2965 // RuntimeHidden_asResolvePossiblyDirectEval to resolve the function we need
2966 // to call. Then we call the resolved function using the given arguments.
2977 // Push a copy of the function (found below the arguments) and
2983 // Touch up the stack with the resolved function.
3002 // According to ECMA-262, section 11.2.2, page 44, the function
3006 // Push constructor on the stack. If it's not a function it's used as
3023 // Load function and argument count into r1 and r0.
3070 // Load function and argument count into r1 and r0.
3346 Label done, null, function, non_function_constructor;
3357 // Return 'Function' for JSFunction objects.
3359 __ b(eq, &function);
3361 // Check if the constructor in the map is a JS function.
3367 // r0 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'.
3691 // Discard the function left on TOS.
4047 // Push the target function under the receiver.
4066 const Runtime::Function* function = expr->function();
4067 switch (function->function_id) {
4082 // Call the C runtime function.
4084 __ CallRuntime(expr->function(), arg_count);
4668 // Contexts nested in the native context have a canonical empty function