Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index 75bf0a9e0d218ea127a8932e16e2fbd4f761b209..a5bc5eae0be9461f2f71a9ea61f678b2fea93256 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -4060,8 +4060,8 @@ void LCodeGen::DoMathSqrt(LMathSqrt* instr) { |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
__ push(temp_result); |
__ CallRuntimeSaveDoubles(Runtime::kMathSqrtRT); |
- RecordSafepointWithRegisters( |
- instr->pointer_map(), 0, Safepoint::kNoLazyDeopt); |
+ RecordSafepointWithRegisters(instr->pointer_map(), 1, |
+ Safepoint::kNoLazyDeopt); |
__ StoreToSafepointRegisterSlot(temp_result, eax); |
} |
X87PrepareToWrite(result_reg); |
@@ -4275,7 +4275,7 @@ void LCodeGen::DoMathExp(LMathExp* instr) { |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
__ push(temp_result); |
__ CallRuntimeSaveDoubles(Runtime::kMathExpRT); |
- RecordSafepointWithRegisters(instr->pointer_map(), 0, |
+ RecordSafepointWithRegisters(instr->pointer_map(), 1, |
Safepoint::kNoLazyDeopt); |
__ StoreToSafepointRegisterSlot(temp_result, eax); |
} |