Index: src/arm/deoptimizer-arm.cc |
diff --git a/src/arm/deoptimizer-arm.cc b/src/arm/deoptimizer-arm.cc |
index f4cab9dd624075c22ac57936c4d8f5311e5feffe..60959bd6523ccc0ffdc215896c904ae5261745f4 100644 |
--- a/src/arm/deoptimizer-arm.cc |
+++ b/src/arm/deoptimizer-arm.cc |
@@ -1157,21 +1157,18 @@ void Deoptimizer::EntryGenerator::Generate() { |
if (CpuFeatures::IsSupported(VFP2)) { |
CpuFeatures::Scope scope(VFP2); |
- // In case of OSR, we have to restore the d registers. |
- if (type() == OSR) { |
- // Check CPU flags for number of registers, setting the Z condition flag. |
- __ CheckFor32DRegs(ip); |
- |
- __ ldr(r1, MemOperand(r0, Deoptimizer::input_offset())); |
- int src_offset = FrameDescription::double_registers_offset(); |
- for (int i = 0; i < DwVfpRegister::kNumRegisters; ++i) { |
- if (i == kDoubleRegZero.code()) continue; |
- if (i == kScratchDoubleReg.code()) continue; |
- |
- const DwVfpRegister reg = DwVfpRegister::from_code(i); |
- __ vldr(reg, r1, src_offset, i < 16 ? al : ne); |
- src_offset += kDoubleSize; |
- } |
+ // Check CPU flags for number of registers, setting the Z condition flag. |
+ __ CheckFor32DRegs(ip); |
+ |
+ __ ldr(r1, MemOperand(r0, Deoptimizer::input_offset())); |
+ int src_offset = FrameDescription::double_registers_offset(); |
+ for (int i = 0; i < DwVfpRegister::kNumRegisters; ++i) { |
+ if (i == kDoubleRegZero.code()) continue; |
+ if (i == kScratchDoubleReg.code()) continue; |
+ |
+ const DwVfpRegister reg = DwVfpRegister::from_code(i); |
+ __ vldr(reg, r1, src_offset, i < 16 ? al : ne); |
+ src_offset += kDoubleSize; |
} |
} |