From: palfia@homejinni.com Date: Tue, 13 Aug 2013 23:34:34 +0000 (+0000) Subject: MIPS: Store doubles before calling into the elements transition stub X-Git-Tag: upstream/4.7.83~12953 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e12b6ff35d4d497f79648f64df57e399db3b1ef0;p=platform%2Fupstream%2Fv8.git MIPS: Store doubles before calling into the elements transition stub Port r16172 (cc2b6204) BUG= Review URL: https://codereview.chromium.org/23110002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16182 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc index 34ff1fa..db256ef 100644 --- a/src/mips/lithium-codegen-mips.cc +++ b/src/mips/lithium-codegen-mips.cc @@ -4405,12 +4405,13 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { __ RecordWriteField(object_reg, HeapObject::kMapOffset, new_map_reg, scratch, GetRAState(), kDontSaveFPRegs); } else { - PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); + PushSafepointRegistersScope scope( + this, Safepoint::kWithRegistersAndDoubles); __ mov(a0, object_reg); __ li(a1, Operand(to_map)); TransitionElementsKindStub stub(from_kind, to_kind); __ CallStub(&stub); - RecordSafepointWithRegisters( + RecordSafepointWithRegistersAndDoubles( instr->pointer_map(), 0, Safepoint::kNoLazyDeopt); } __ bind(¬_applicable);