Home | History | Annotate | Download | only in arm64

Lines Matching defs:function

29   // x1: function
31 // x0: number of arguments to the constructor function
1041 // this function returns. The anaylsis should be properly confirmed.
1081 // first argument to the target function and arg[0] is the last.
1283 // x1: function.
1394 // Invoke the function by calling through the JS entry trampoline builtin.
1400 // x1: function.
1508 Register const function = x0; // Function (rhs).
1510 Register const function_map = x3; // Map of {function}.
1511 Register const function_prototype = x4; // Prototype of {function}.
1515 DCHECK(function.is(InstanceOfDescriptor::RightRegister()));
1521 // Lookup the {function} and the {object} map in the global instanceof cache.
1526 __ JumpIfNotRoot(function, Heap::kInstanceofCacheFunctionRootIndex,
1532 // If {object} is a smi we can safely return false if {function} is a JS
1533 // function, otherwise we have to miss to the runtime and throw an exception.
1535 __ JumpIfSmi(function, &slow_case);
1536 __ JumpIfNotObjectType(function, function_map, scratch, JS_FUNCTION_TYPE,
1541 // Fast-case: The {function} must be a valid JSFunction.
1543 __ JumpIfSmi(function, &slow_case);
1544 __ JumpIfNotObjectType(function, function_map, scratch, JS_FUNCTION_TYPE,
1547 // Ensure that {function} has an instance prototype.
1551 // Get the "prototype" (or initial map) of the {function}.
1553 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
1556 // Resolve the prototype if the {function} has an initial map. Afterwards the
1558 // hole value, which means that no instances of the {function} were created so
1569 // {function}. The cached answer will be set when it is known below.
1570 __ StoreRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
1573 // Loop through the prototype chain looking for the {function} prototype.
1612 // Slow-case: Call the %InstanceOf runtime function.
1614 __ Push(object, function);
1671 // x1 : function
1675 DCHECK(x1.is(ArgumentsAccessNewDescriptor::function()));
1702 // x1 : function
1708 DCHECK(x1.is(ArgumentsAccessNewDescriptor::function()));
1714 Register function = x1;
1734 // x1 function function pointer
1735 // x2 arg_count_smi number of function arguments (smi)
1738 // x7 param_count number of function parameters
1740 // x14 arg_count number of function arguments (uninit)
1765 // x1 function function pointer
1766 // x2 arg_count_smi number of function arguments (smi)
1769 // x7 param_count number of function parameters
1771 // x14 arg_count number of function arguments
1803 // x1 function function pointer
1804 // x2 arg_count_smi number of function arguments (smi)
1807 // x7 param_count number of function parameters
1809 // x14 arg_count number of function arguments
1834 __ AssertNotSmi(function);
1835 __ Str(function, FieldMemOperand(alloc_obj, kCalleeOffset));
1849 // x1 function function pointer
1850 // x2 arg_count_smi number of function arguments (smi)
1855 // x7 param_count number of function parameters
1856 // x14 arg_count number of function arguments
1898 // x1 function function pointer
1899 // x2 arg_count_smi number of function arguments (smi)
1904 // x7 param_count number of function parameters
1908 // x14 arg_count number of function arguments
1944 // x1 function function pointer
1945 // x2 arg_count_smi number of function arguments (smi)
1949 // x14 arg_count number of function arguments
1971 __ Push(function, recv_arg, arg_count_smi);
1997 // x1 : function
2003 DCHECK(x1.is(ArgumentsAccessNewDescriptor::function()));
2008 Register function = x1;
2024 // x1 function function pointer
2025 // x2 param_count_smi number of parameters passed to function (smi)
2028 // x13 param_count number of parameters passed to function
2060 // x1 function function pointer
2061 // x2 param_count_smi number of parameters passed to function (smi)
2064 // x13 param_count number of parameters passed to function
2091 // x1 function function pointer
2092 // x2 param_count_smi number of parameters passed to function (smi)
2096 // x13 param_count number of parameters passed to function
2119 __ Push(function, params, param_count_smi);
2154 // x2 param_count_smi number of parameters passed to function (smi)
2157 // x13 param_count number of parameters passed to function
2184 // Use of registers for this function.
2670 Register argc, Register function,
2677 __ Push(argc, function, feedback_vector, index);
2682 __ Pop(index, feedback_vector, function, argc);
2688 Register function,
2693 DCHECK(!AreAliased(scratch1, scratch2, scratch3, argc, function,
2695 // Cache the called function in a feedback vector slot. Cache states are
2697 // argc : number of arguments to the construct function
2698 // function : the function to call
2717 // function without changing the state.
2723 __ Cmp(function, feedback_value);
2736 // If we came here, we need to see if we are the array function.
2737 // If we didn't have a matching function, and we didn't find the megamorph
2738 // sentinel, then we have in the slot either some other function or an
2742 // Make sure the function is the Array() function
2744 __ Cmp(function, scratch1);
2762 // An uninitialized cache is patched with the function or sentinel to
2763 // indicate the ElementsKind if function is the Array constructor.
2766 // Make sure the function is the Array() function
2768 __ Cmp(function, scratch1);
2771 // The target function is the Array constructor,
2775 CallStubInRecordCallTarget(masm, &create_stub, argc, function,
2781 CallStubInRecordCallTarget(masm, &weak_cell_stub, argc, function,
2790 // x1 : the function to call
2793 Register function = x1;
2796 // Check that the function is not a smi.
2797 __ JumpIfSmi(function, &non_function);
2798 // Check that the function is a JSFunction.
2800 __ JumpIfNotObjectType(function, object_type, object_type, JS_FUNCTION_TYPE,
2803 GenerateRecordCallTarget(masm, x0, function, x2, x3, x4, x5, x11, x12);
2817 __ Mov(x3, function);
2819 // Tail call to the function-specific construct stub (still in the caller
2827 __ Mov(x3, function);
2833 // x1 - function
2837 Register function = x1;
2844 __ Cmp(function, scratch);
2849 // Increment the call count for monomorphic function calls.
2862 __ Mov(new_target_arg, function);
2871 // x1 - function
2878 Register function = x1;
2902 __ Cmp(x5, function);
2907 __ JumpIfSmi(function, &extra_checks_or_miss);
2909 // Increment the call count for monomorphic function calls.
2960 __ JumpIfSmi(function, &miss);
2962 // Goto miss case if we do not have a function.
2963 __ JumpIfNotObjectType(function, x5, x5, JS_FUNCTION_TYPE, &miss);
2965 // Make sure the function is not the Array() function, which requires special
2968 __ Cmp(function, x5);
2971 // Make sure the function belongs to the same native context.
2972 __ Ldr(x4, FieldMemOperand(function, JSFunction::kContextOffset));
2984 // Store the function. Use a stub since we need a frame for allocation.
2987 // x1 - function
2991 __ Push(function);
2993 __ Pop(function);
3012 // Push the receiver and the function and feedback info.
4082 ExternalReference function =
4085 __ CallCFunction(function, 3, 0);
4680 // Compute the function's address as the first argument.
4689 // function at a known address.
4724 // Call the C++ function.
5022 // specialization, and not a separate function.
5201 // Initial map for the builtin Array function should be a map.
5216 // Enter the context of the Array function.
5311 // Initial map for the builtin Array function should be a map.
5506 // Calls an API function. Allocates HandleScope, extracts returned value
5550 // We will need to restore the HandleScope after the call to the API function,
5629 // Check if the function scheduled an exception.