Lines Matching defs:function
601 // rdi : function
603 // Registers used over the whole function:
608 DCHECK(rdi.is(ArgumentsAccessNewDescriptor::function()));
802 __ Push(rdi); // Push function.
813 // rdi : function
816 DCHECK(rdi.is(ArgumentsAccessNewDescriptor::function()));
836 __ Push(rdi); // Push function.
938 // rdi : function
941 DCHECK(rdi.is(ArgumentsAccessNewDescriptor::function()));
1024 __ Push(rdi); // Push function.
1782 // rax : number of arguments to the construct function
1785 // rdi : the function to call
1807 // Cache the called function in a feedback vector slot. Cache states
1810 // rax : number of arguments to the construct function
1813 // rdi : the function to call
1824 // function without changing the state.
1843 // If we came here, we need to see if we are the array function.
1844 // If we didn't have a matching function, and we didn't find the megamorph
1845 // sentinel, then we have in the slot either some other function or an
1850 // Make sure the function is the Array() function
1869 // An uninitialized cache is patched with the function or sentinel to
1870 // indicate the ElementsKind if function is the Array constructor.
1873 // Make sure the function is the Array() function
1898 // rdi : constructor function
1924 // Tail call to the function-specific construct stub (still in the caller
1938 // rdi - function
1948 // Increment the call count for monomorphic function calls.
1962 // -- rdi - function
1998 // Increment the call count for monomorphic function calls.
2051 // Goto miss case if we do not have a function.
2055 // Make sure the function is not the Array() function, which requires special
2061 // Make sure the function belongs to the same native context.
2072 // Store the function. Use a stub since we need a frame for allocation.
2075 // rdi - function
2103 // Push the receiver and the function and feedback info.
2151 // rbx: pointer to C function (C callee-saved)
2176 // rbx: pointer to builtin function (C callee-saved).
2191 // Call C function.
2324 __ Push(kScratchRegister); // function slot
2401 // Invoke the function by calling through JS entry trampoline builtin and
2402 // pop the faked function when we return. We load the address from an
2470 Register const function = rax; // Function (rhs).
2472 Register const function_map = r8; // Map of {function}.
2473 Register const function_prototype = rdi; // Prototype of {function}.
2476 DCHECK(function.is(InstanceOfDescriptor::RightRegister()));
2482 // Lookup the {function} and the {object} map in the global instanceof cache.
2487 __ CompareRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
2494 // If {object} is a smi we can safely return false if {function} is a JS
2495 // function, otherwise we have to miss to the runtime and throw an exception.
2497 __ JumpIfSmi(function, &slow_case);
2498 __ CmpObjectType(function, JS_FUNCTION_TYPE, function_map);
2503 // Fast-case: The {function} must be a valid JSFunction.
2505 __ JumpIfSmi(function, &slow_case);
2506 __ CmpObjectType(function, JS_FUNCTION_TYPE, function_map);
2509 // Ensure that {function} has an instance prototype.
2514 // Get the "prototype" (or initial map) of the {function}.
2516 FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2519 // Resolve the prototype if the {function} has an initial map. Afterwards the
2521 // hole value, which means that no instances of the {function} were created so
2533 // {function}. The cached answer will be set when it is known below.
2534 __ StoreRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
2537 // Loop through the prototype chain looking for the {function} prototype.
2571 // Slow-case: Call the %InstanceOf runtime function.
2575 __ Push(function);
2634 __ Push(index_); // Consumed by runtime conversion function.
4494 // Calculate the function address to the first arg.
4501 // Call the entry hook function.
4715 // Initial map for the builtin Array function should be a map.
4728 // Enter the context of the Array function.
4831 // Initial map for the builtin Array function should be a map.
5042 // Calls an API function. Allocates HandleScope, extracts returned value
5097 // Third parameter is the address of the actual getter function.
5103 // Call the api function!
5108 // Call the api function!
5143 // Check if the function scheduled an exception.
5149 // Check if the function returned a valid JavaScript value.