Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
74 void MacroAssembler::Jump(Handle<Code> code, RelocInfo::Mode rmode,
77 // 'code' is always generated ARM code, never THUMB code
79 Jump(reinterpret_cast<intptr_t>(code.location()), rmode, cond);
163 int MacroAssembler::CallSize(Handle<Code> code,
168 return CallSize(reinterpret_cast<Address>(code.location()), rmode, cond);
172 void MacroAssembler::Call(Handle<Code> code,
184 // 'code' is always generated ARM code, never THUMB code
186 Call(reinterpret_cast<Address>(code.location()), rmode, cond, mode);
462 // Clobber clobbered input registers when running with the debug-code flag
481 // The compiled code assumes that record write doesn't change the
521 // Clobber clobbered registers when running with the debug-code flag
640 return MemOperand(sp, SafepointRegisterStackIndex(reg.code()) * kPointerSize);
649 int register_offset = SafepointRegisterStackIndex(reg.code()) * kPointerSize;
659 // V8 does not use this addressing mode, so the fallback code
665 (dst1.code() % 2 == 0) && (dst1.code() + 1 == dst2.code())) {
700 // V8 does not use this addressing mode, so the fallback code
706 (src1.code() % 2 == 0) && (src1.code() + 1 == src2.code())) {
793 if (src.code() < 16) {
794 const LowDwVfpRegister loc = LowDwVfpRegister::from_code(src.code());
803 if (dst.code() < 16) {
804 const LowDwVfpRegister loc = LowDwVfpRegister::from_code(dst.code());
813 if (src.code() < 16) {
814 const LowDwVfpRegister loc = LowDwVfpRegister::from_code(src.code());
823 if (dst.code() < 16) {
824 const LowDwVfpRegister loc = LowDwVfpRegister::from_code(dst.code());
972 // Reserve room for saved entry sp and code object.
992 // since the sp slot and code slot were pushed after the fp.
1084 // This macro takes the dst register to make the code more readable
1099 Handle<Code> code_constant,
1115 // r3: callee code entry
1117 // The code below is made a lot easier because the calling code already sets
1133 // don't want that done. Skip adaption code by making it look
1156 add(r3, r3, Operand(Code::kHeaderSize - kHeapObjectTag));
1159 Handle<Code> adaptor =
1178 void MacroAssembler::InvokeCode(Register code,
1189 InvokePrologue(expected, actual, Handle<Code>::null(), code,
1194 call_wrapper.BeforeCall(CallSize(code));
1196 Call(code);
1201 Jump(code);
1211 void MacroAssembler::InvokeCode(Handle<Code> code,
1222 InvokePrologue(expected, actual, code, no_reg,
1228 Call(code, rmode);
1231 Jump(code, rmode);
1282 // We call indirectly through the code field in the function to
1345 // Adjust this code if not the case.
1355 // Set up the code object (r5) and the state (r6) for pushing.
1362 // Push the frame pointer, context, state, and code object.
1391 // a fixed array of (smi-tagged) code offsets.
1392 // r0 = exception, r1 = code object, r2 = state.
1393 ldr(r3, FieldMemOperand(r1, Code::kHandlerTableOffset)); // Handler table.
1397 add(r1, r1, Operand(Code::kHeaderSize - kHeapObjectTag)); // Code start.
1403 // Adjust this code if not the case.
1422 // Get the code object (r1) and state (r2). Restore the context and frame
1437 // Adjust this code if not the case.
1468 // Get the code object (r1) and state (r2). Clear the context and frame
1501 // Cannot use ip as a temporary in this verification code. Due to the fact
1519 // Cannot use ip as a temporary in this verification code. Due to the fact
1560 // Compute the hash code from the untagged key. This must be kept in sync
1703 ASSERT(result.code() < ip.code());
1715 // This code stores a temporary value in ip. This is OK, as the code below
1789 // them are ip. ip is used explicitly in the code generated below.
1811 ASSERT(result.code() < ip.code());
1817 // This code stores a temporary value in ip. This is OK, as the code below
2205 Handle<Code> success,
2573 // If we reach this code, 31 <= exponent <= 83.
2651 // should remove this need and make the runtime routine entry code
2689 // should remove this need and make the runtime routine entry code
2751 // Load the code entry point from the builtins object.
2852 // We don't actually want to generate a pile of code for this, so just
2861 // If the calling code cares about the exact number of
3579 // marked black immediately so this code is not hit).
3855 // Create a new macro assembler pointing to the address of the code to patch.
3863 // Indicate that code has changed.
3866 // Check that the code was patched as expected.