Lines Matching defs:function
1029 // Called from JavaScript; parameters are on stack as if calling JS function.
1031 // r4: pointer to builtin function
1074 // r15: pointer to builtin function (C callee-saved)
1082 // Use frame storage reserved by calling function to pass return
1096 // Native AIX/PPC64 Linux use a function descriptor.
1219 // r4: function
1246 // r4: function
1316 // Invoke the function by calling through JS entry trampoline builtin.
1322 // r4: function
1379 Register const function = r3; // Function (rhs).
1381 Register const function_map = r6; // Map of {function}.
1382 Register const function_prototype = r7; // Prototype of {function}.
1386 DCHECK(function.is(InstanceOfDescriptor::RightRegister()));
1392 // Lookup the {function} and the {object} map in the global instanceof cache.
1397 __ CompareRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
1404 // If {object} is a smi we can safely return false if {function
1405 // function, otherwise we have to miss to the runtime and throw an exception.
1407 __ JumpIfSmi(function, &slow_case);
1408 __ CompareObjectType(function, function_map, scratch, JS_FUNCTION_TYPE);
1413 // Fast-case: The {function} must be a valid JSFunction.
1415 __ JumpIfSmi(function, &slow_case);
1416 __ CompareObjectType(function, function_map, scratch, JS_FUNCTION_TYPE);
1419 // Ensure that {function} has an instance prototype.
1424 // Get the "prototype" (or initial map) of the {function}.
1426 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
1429 // Resolve the prototype if the {function} has an initial map. Afterwards the
1431 // hole value, which means that no instances of the {function} were created so
1442 // {function}. The cached answer will be set when it is known below.
1443 __ StoreRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
1446 // Loop through the prototype chain looking for the {function} prototype.
1485 // Slow-case: Call the %InstanceOf runtime function.
1487 __ Push(object, function);
1598 // r4 : function
1602 DCHECK(r4.is(ArgumentsAccessNewDescriptor::function()));
1626 // r4 : function
1629 // Registers used over whole function:
1633 DCHECK(r4.is(ArgumentsAccessNewDescriptor::function()));
1891 // r4 : function
1895 DCHECK(r4.is(ArgumentsAccessNewDescriptor::function()));
2022 // Allocation of registers for this function. These are in callee save
2260 // Even Simulated AIX/PPC64 Linux uses a function descriptor for the
2434 // r3 : number of arguments to the construct function
2435 // r4 : the function to call
2452 // Cache the called function in a feedback vector slot. Cache states
2455 // r3 : number of arguments to the construct function
2456 // r4 : the function to call
2472 // function without changing the state.
2492 // If we came here, we need to see if we are the array function.
2493 // If we didn't have a matching function, and we didn't find the megamorph
2494 // sentinel, then we have in the slot either some other function or an
2499 // Make sure the function is the Array() function
2520 // An uninitialized cache is patched with the function
2523 // Make sure the function is the Array() function.
2528 // The target function is the Array constructor,
2545 // r4 : the function to call
2550 // Check that the function is not a smi.
2552 // Check that the function is a JSFunction.
2576 // Pass function as new target.
2579 // Tail call to the function-specific construct stub (still in the caller
2593 // r4 - function
2603 // Increment the call count for monomorphic function calls.
2619 // r4 - function
2653 // Increment the call count for monomorphic function calls.
2707 // Goto miss case if we do not have a function.
2711 // Make sure the function is not the Array() function, which requires special
2717 // Make sure the function belongs to the same native context.
2728 // Store the function. Use a stub since we need a frame for allocation.
2731 // r4 - function
2754 // Push the function and feedback info.
2813 // index_ is consumed by runtime conversion function.
3815 __ Call(ip); // Call the C++ function.
3824 // Native AIX/PPC64 Linux use a function descriptor.
4776 // Compute the function's address for the first argument.
4797 // Function descriptor
4809 // trampoline function at a known address.
5018 // Initial map for the builtin Array function should be a map.
5030 // Enter the context of the Array function.
5112 // Initial map for the builtin Array function should be a map.
5308 // Calls an API function. Allocates HandleScope, extracts returned value
5424 // Check if the function scheduled an exception.