X87: fix one GC issue.
The incorrect parameter number is set when recording safepoint. BUG= R=weiliang.lin@intel.com Review URL: https://codereview.chromium.org/716463003 Patch from Chunyang Dai <chunyang.dai@intel.com>. Cr-Commit-Position: refs/heads/master@{#25226} git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25226 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
49d1f64ebf
commit
28d6001c05
@ -4063,8 +4063,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);
|
||||
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user