Lines Matching defs:function
969 // Called from JavaScript; parameters are on stack as if calling JS function.
971 // r1: pointer to builtin function
1000 // r5: pointer to builtin function (C callee-saved)
1132 // r1: function
1154 // r1: function
1165 // r1: function
1239 // Invoke the function by calling through JS entry trampoline builtin.
1245 // r1: function
1302 Register const function = r0; // Function (rhs).
1304 Register const function_map = r3; // Map of {function}.
1305 Register const function_prototype = r4; // Prototype of {function}.
1309 DCHECK(function.is(InstanceOfDescriptor::RightRegister()));
1315 // Lookup the {function} and the {object} map in the global instanceof cache.
1320 __ CompareRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
1327 // If {object} is a smi we can safely return false if {function} is a JS
1328 // function, otherwise we have to miss to the runtime and throw an exception.
1330 __ JumpIfSmi(function, &slow_case);
1331 __ CompareObjectType(function, function_map, scratch, JS_FUNCTION_TYPE);
1336 // Fast-case: The {function} must be a valid JSFunction.
1338 __ JumpIfSmi(function, &slow_case);
1339 __ CompareObjectType(function
1342 // Ensure that {function} has an instance prototype.
1347 // Get the "prototype" (or initial map) of the {function}.
1349 FieldMemOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
1352 // Resolve the prototype if the {function} has an initial map. Afterwards the
1354 // hole value, which means that no instances of the {function} were created so
1365 // {function}. The cached answer will be set when it is known below.
1366 __ StoreRoot(function, Heap::kInstanceofCacheFunctionRootIndex);
1369 // Loop through the prototype chain looking for the {function} prototype.
1408 // Slow-case: Call the %InstanceOf runtime function.
1410 __ Push(object, function);
1518 // r1 : function
1522 DCHECK(r1.is(ArgumentsAccessNewDescriptor::function()));
1545 // r1 : function
1548 // Registers used over whole function:
1552 DCHECK(r1.is(ArgumentsAccessNewDescriptor::function()));
1768 // r1 : function
1772 DCHECK(r1.is(ArgumentsAccessNewDescriptor::function()));
1898 // Allocation of registers for this function. These are in callee save
2293 // r0 : number of arguments to the construct function
2294 // r1 : the function to call
2311 // Cache the called function in a feedback vector slot. Cache states
2314 // r0 : number of arguments to the construct function
2315 // r1 : the function to call
2330 // function without changing the state.
2350 // If we came here, we need to see if we are the array function.
2351 // If we didn't have a matching function, and we didn't find the megamorph
2352 // sentinel, then we have in the slot either some other function or an
2357 // Make sure the function is the Array() function
2377 // An uninitialized cache is patched with the function
2380 // Make sure the function is the Array() function
2385 // The target function is the Array constructor,
2401 // r1 : the function to call
2406 // Check that the function is not a smi.
2408 // Check that the function is a JSFunction.
2426 // Pass function as new target.
2429 // Tail call to the function-specific construct stub (still in the caller
2442 // r1 - function
2452 // Increment the call count for monomorphic function calls.
2467 // r1 - function
2500 // Increment the call count for monomorphic function calls.
2556 // Goto miss case if we do not have a function.
2560 // Make sure the function is not the Array() function, which requires special
2566 // Make sure the function belongs to the same native context.
2578 // Store the function. Use a stub since we need a frame for allocation.
2581 // r1 - function
2604 // Push the receiver and the function and feedback info.
2669 // index_ is consumed by runtime conversion function.
3616 __ blx(ip); // Call the C++ function.
4566 // Compute the function's address for the first argument.
4587 // trampoline function at a known address.
4792 // Initial map for the builtin Array function should be a map.
4804 // Enter the context of the Array function.
4884 // Initial map for the builtin Array function should be a map.
5077 // Calls an API function. Allocates HandleScope, extracts returned value
5184 // Check if the function scheduled an exception.