Home | History | Annotate | Download | only in ia32

Lines Matching refs:Function

771       // Register element_count is not modified by the function.
817 // object_size is left unchanged by this function.
1018 // before calling this function.
1032 // Because source is 4-byte aligned in our uses of this function,
1087 void MacroAssembler::TryGetFunctionPrototype(Register function,
1092 test(function, Immediate(kSmiTagMask));
1095 // Check that the function really is a function.
1096 CmpObjectType(function, JS_FUNCTION_TYPE, result);
1099 // Make sure that the function has an instance prototype.
1105 // Get the prototype or initial map from the function.
1107 FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
1115 // If the function does not have an initial map, we're done.
1207 const Runtime::Function* function = Runtime::FunctionForId(id);
1208 Set(eax, Immediate(function->nargs));
1209 mov(ebx, Immediate(ExternalReference(function, isolate())));
1222 void MacroAssembler::CallRuntime(const Runtime::Function* f,
1224 // If the expected number of arguments of the runtime function is
1243 MaybeObject* MacroAssembler::TryCallRuntime(const Runtime::Function* f,
1313 // If true, a Handle<T> returned by value from a function with cdecl calling
1317 // region. Pointer to this region should be passed to a function as an
1349 // Note that this is one more "argument" than the function expects
1351 // from the function. The out cell contains Handle.
1363 MaybeObject* MacroAssembler::TryCallApiFunctionAndReturn(ApiFunction* function,
1377 // Call the api function!
1378 call(function->address(), RelocInfo::RUNTIME_ENTRY);
1407 // Check if the function scheduled an exception.
1488 // case when we invoke function values without going through the
1582 void MacroAssembler::InvokeFunction(JSFunction* function,
1586 ASSERT(function->is_compiled());
1587 // Get the function and setup the context.
1588 mov(edi, Immediate(Handle<JSFunction>(function)));
1591 ParameterCount expected(function->shared()->formal_parameter_count());
1594 // code field in the function to allow recompilation to take effect
1599 Handle<Code> code(function->code());
1623 // Load the JavaScript builtin function from the builtins object.
1632 // Load the JavaScript builtin function from the builtins object.
1634 // Load the code entry point from the function into the target register.
1643 // Load the function context (which is the incoming, outer context).
1650 // Slot is in the current function context. Move it into the
1662 Check(equal, "Yo dawg, I heard you liked function contexts "
1663 "so I put function contexts in all your contexts");
1668 void MacroAssembler::LoadGlobalFunction(int index, Register function) {
1670 mov(function, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX)));
1672 mov(function, FieldOperand(function, GlobalObject::kGlobalContextOffset));
1673 // Load the function from the global context.
1674 mov(function, Operand(function, Context::SlotOffset(index)));
1678 void MacroAssembler::LoadGlobalFunctionInitialMap(Register function,
1681 mov(map, FieldOperand(function, JSFunction::kPrototypeOrInitialMapOffset));
2023 void MacroAssembler::CallCFunction(ExternalReference function,
2026 mov(Operand(eax), Immediate(function));
2031 void MacroAssembler::CallCFunction(Register function,
2038 call(Operand(function));