Lines Matching defs:function
10 // by the ABI to contain function return values. However, the first
11 // parameter to a function is defined to be 'a0'. So there are many
97 // Generate code for a JS function. On entry to the function the receiver
100 // function.
103 // o a1: the JS function object being called (i.e. ourselves)
110 // The function builds a JS frame. Please see JavaScriptFrameConstants in
117 Comment cmnt(masm_, "[ function compiled by full code generator");
187 // Argument to NewContext is the function, which is still in a1.
247 // Register holding this function and new target are both trashed in case we
252 // Possibly set up a local binding to the this function which is used in
256 Comment cmnt(masm_, "[ This function");
295 // Function uses arguments object.
297 DCHECK(a1.is(ArgumentsAccessNewDescriptor::function()));
311 // function, parameter pointer, parameter count.
766 // context. Otherwise, we let the Visit function deal with the
782 // The variable in the declaration always resides in the current function
869 Handle<SharedFunctionInfo> function =
872 if (function.is_null()) return SetStackOverflow();
873 globals_->Add(function, zone());
891 // We know that we have written a function, which is not a smi.
908 // Push initial value for function declaration.
1208 // flag, we need to use the runtime function so that the new function
1329 // This function is used only for loads, not stores, so it's safe to
2058 __ Drop(1); // The function is still on the stack; drop it.
2098 // Load suspended function and context.
2106 // Push holes for the rest of the arguments to the generator function.
2130 // a4 = callee's JS function.
2737 // Get the target function.
2750 // Load the function from the receiver.
2756 // Push the target function under the receiver.
2776 // Load the function from the receiver.
2795 // Replace home_object with target function.
2799 // - target function
2813 // Load the function from the receiver.
2820 // Push the target function under the receiver.
2836 // Load the function from the receiver.
2855 // Replace home_object with target function.
2859 // - target function
2897 // a5: the receiver of the enclosing function.
2912 // See http://www.ecma-international.org/ecma-262/6.0/#sec-function-calls.
2924 // Call the runtime to find the function to call (returned in v0)
2930 __ Push(v0, v1); // Function, receiver.
2934 // function and receiver and have the slow path jump around this
2940 // Push function.
2943 // by passing the hole to the call function stub.
2959 // to resolve the function we need to call. Then we call the resolved
2960 // function using the given arguments.
2970 // Push a copy of the function (found below the arguments) and
2976 // Touch up the stack with the resolved function.
2994 // According to ECMA-262, section 11.2.2, page 44, the function
2998 // Push constructor on the stack. If it's not a function it's used as
3015 // Load function and argument count into a1 and a0.
3062 // Load function and argument count into a1 and a0.
3346 Label done, null, function, non_function_constructor;
3356 // Return 'Function' for JSFunction objects.
3357 __ Branch(&function, eq, a1, Operand(JS_FUNCTION_TYPE));
3359 // Check if the constructor in the map is a JS function.
3365 // v0 now contains the constructor function. Grab the
3371 // Functions have class 'Function'.
3372 __ bind(&function);
3376 // Objects with a non-function constructor have class 'Object'.
3706 // Discard the function left on TOS.
4061 // Push the target function under the receiver.
4079 const Runtime::Function* function = expr->function();
4080 switch (function->function_id) {
4095 // Call the C runtime function.
4097 __ CallRuntime(expr->function(), arg_count);
4687 // Contexts nested in the native context have a canonical empty function