Reviewers: Weiliang,
Message:
WL.
PTAL.
thanks
Description:
X87: fix one GC issue.
The incorrect parameter number is set when recording saftpoint.
BUG=
Please review this at https://codereview.chromium.org/716463003/
Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Affected files (+2, -2 lines):
M src/x87/lithium-codegen-x87.cc
Index: src/x87/lithium-codegen-x87.cc
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc
index
f8872d718714f2656b19b7720d9d817b798aae62..11b65f19d677312ce05a672e3e01a7cffeafd0f6
100644
--- a/src/x87/lithium-codegen-x87.cc
+++ b/src/x87/lithium-codegen-x87.cc
@@ -4064,7 +4064,7 @@ void LCodeGen::DoMathSqrt(LMathSqrt* instr) {
__ push(temp_result);
__ CallRuntimeSaveDoubles(Runtime::kMathSqrtRT);
RecordSafepointWithRegisters(
- instr->pointer_map(), 0, Safepoint::kNoLazyDeopt);
+ instr->pointer_map(), 1, Safepoint::kNoLazyDeopt);
__ StoreToSafepointRegisterSlot(temp_result, eax);
}
X87PrepareToWrite(result_reg);
@@ -4278,7 +4278,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);
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.