Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
164 return MemOperand(sp, SafepointRegisterStackIndex(reg.code()) * kPointerSize);
172 int register_offset = SafepointRegisterStackIndex(reg.code()) * kPointerSize;
230 // Clobber clobbered input registers when running with the debug-code flag
251 // The compiled code assumes that record write doesn't change the
292 // Clobber clobbered registers when running with the debug-code flag
426 // Compute the hash code from the untagged key. This must be kept in sync
794 // this code to load another value which may need 2 instructions to load.
1009 mtc1(at, FPURegister::from_code(scratch.code() + 1));
1028 mfc1(t8, FPURegister::from_code(fs.code() + 1));
1030 mtc1(t8, FPURegister::from_code(fs.code() + 1));
1039 mfc1(t8, FPURegister::from_code(fs.code() + 1));
1041 mtc1(t8, FPURegister::from_code(fs.code() + 1));
1050 mfc1(t8, FPURegister::from_code(fs.code() + 1));
1052 mtc1(t8, FPURegister::from_code(fs.code() + 1));
1061 mfc1(t8, FPURegister::from_code(fs.code() + 1));
1063 mtc1(t8, FPURegister::from_code(fs.code() + 1));
1078 mtc1(at, FPURegister::from_code(scratch.code() + 1));
1229 // Tests an FP condition code and then conditionally move rs to rd.
1236 // than test its cc (floating point condition code) bit (for cc = 0, it is
1255 // Tests an FP condition code and then conditionally move rs to rd.
1262 // than test its cc (floating point condition code) bit (for cc = 0, it is
1347 mtc1(scratch, FPURegister::from_code(double_scratch.code() + 1));
1718 // No code needs to be emitted.
1832 // No code needs to be emitted.
1967 // No code needs to be emitted.
2106 // No code needs to be emitted.
2457 void MacroAssembler::Jump(Handle<Code> code,
2465 Jump(reinterpret_cast<intptr_t>(code.location()), rmode, cond, rs, rt, bd);
2489 // Note: To call gcc-compiled C code on mips, you must call thru t9.
2536 // li() generates a new code target.
2545 int MacroAssembler::CallSize(Handle<Code> code,
2553 return CallSize(reinterpret_cast<Address>(code.location()),
2558 void MacroAssembler::Call(Handle<Code> code,
2574 Call(reinterpret_cast<Address>(code.location()), rmode, cond, rs, rt, bd);
2575 ASSERT_EQ(CallSize(code, rmode, ast_id, cond, rs, rt, bd),
2737 // Adjust this code if not the case.
2748 // Set up the code object (t1) and the state (t2) for pushing.
2755 // Push the frame pointer, context, state, and code object.
2786 // a fixed array of (smi-tagged) code offsets.
2787 // v0 = exception, a1 = code object, a2 = state.
2788 lw(a3, FieldMemOperand(a1, Code::kHandlerTableOffset)); // Handler table.
2794 Addu(a1, a1, Operand(Code::kHeaderSize - kHeapObjectTag)); // Code start.
2802 // Adjust this code if not the case.
2822 // Get the code object (a1) and state (a2). Restore the context and frame
2839 // Adjust this code if not the case.
2871 // Get the code object (a1) and state (a2). Clear the context and frame
2928 // This code stores a temporary value in t9.
3015 // This code stores a temporary value in t9.
3468 // it's an Infinity, and the non-NaN code path applies.
3548 Handle<Code> success,
3623 // This macro takes the dst register to make the code more readable
3641 Handle<Code> code_constant,
3657 // a3: callee code entry
3659 // The code below is made a lot easier because the calling code already sets
3675 // don't want that done. Skip adaption code by making it look
3694 addiu(a3, a3, Code::kHeaderSize - kHeapObjectTag);
3697 Handle<Code> adaptor =
3716 void MacroAssembler::InvokeCode(Register code,
3728 InvokePrologue(expected, actual, Handle<Code>::null(), code,
3733 call_wrapper.BeforeCall(CallSize(code));
3735 Call(code);
3740 Jump(code);
3749 void MacroAssembler::InvokeCode(Handle<Code> code,
3761 InvokePrologue(expected, actual, code, no_reg,
3767 Call(code, rmode);
3770 Jump(code, rmode);
3818 // We call indirectly through the code field in the function to
4231 // This happens with some crankshaft code. Since Subu works fine if
4274 // should remove this need and make the runtime routine entry code
4313 // should remove this need and make the runtime routine entry code
4376 // Load the code entry point from the builtins object.
4488 // We don't actually want to generate a pile of code for this, so just
4497 // If the calling code cares about the exact number of
5281 // marked black immediately so this code is not hit).
5559 // Create a new macro assembler pointing to the address of the code to patch.
5567 // Indicate that code has changed.
5570 // Check that the code was patched as expected.