Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index 4440c1661ba41163c0915a199a01a5431e9204f3..9fc6e97f3abd324dc40c1c3f42aeff7edf9b035f 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.cc |
@@ -596,7 +596,9 @@ void Deoptimizer::DoCompiledStubFrame(TranslationIterator* iterator, |
reinterpret_cast<uint32_t>(notify_failure->entry())); |
Code* code; |
- CEntryStub(1, kSaveFPRegs).FindCodeInCache(&code, isolate_); |
+ SaveFPRegsMode mode = |
+ CpuFeatures::IsSupported(SSE2) ? kSaveFPRegs : kDontSaveFPRegs; |
+ CEntryStub(1, mode).FindCodeInCache(&code, isolate_); |
output_frame->SetPc(reinterpret_cast<intptr_t>(code->instruction_start())); |
unsigned input_frame_size = input_->GetFrameSize(); |
intptr_t value = input_->GetFrameSlot(input_frame_size - kPointerSize); |