File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ const char* Assembler::RegisterName(Register reg) {
75
75
return Thread::Current ()->zone ()->PrintToString (" R%d" , reg);
76
76
}
77
77
78
+ const char * Assembler::FpuRegisterName (FpuRegister reg) {
79
+ return Thread::Current ()->zone ()->PrintToString (" F%d" , reg);
80
+ }
81
+
78
82
static int32_t EncodeJump (int32_t relative_pc) {
79
83
return SimulatorBytecode::kJump | (relative_pc << 8 );
80
84
}
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Assembler : public AssemblerBase {
45
45
46
46
static const char * RegisterName (Register reg);
47
47
48
- static const char * FpuRegisterName (FpuRegister reg) { return " ? " ; }
48
+ static const char * FpuRegisterName (FpuRegister reg);
49
49
50
50
static uword GetBreakInstructionFiller () { return SimulatorBytecode::kTrap ; }
51
51
Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ class DeoptContext {
97
97
98
98
double FpuRegisterValue (FpuRegister reg) const {
99
99
ASSERT (FlowGraphCompiler::SupportsUnboxedDoubles ());
100
+ #if !defined(TARGET_ARCH_DBC)
100
101
ASSERT (fpu_registers_ != NULL );
101
102
ASSERT (reg >= 0 );
102
- #if !defined(TARGET_ARCH_DBC)
103
103
ASSERT (reg < kNumberOfFpuRegisters );
104
104
return *reinterpret_cast <double *>(&fpu_registers_[reg]);
105
105
#else
You can’t perform that action at this time.
0 commit comments