Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index cd489346a6eac46e99df99f64ec7e18b58fd5a98..c32be4f35ca024d6b8abc2ca64b9c19e89ce1705 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -237,7 +237,7 @@ bool LCodeGen::GeneratePrologue() { |
__ sw(a0, target); |
// Update the write barrier. This clobbers a3 and a0. |
__ RecordWriteContextSlot( |
- cp, target.offset(), a0, a3, kRAHasBeenSaved, kSaveFPRegs); |
+ cp, target.offset(), a0, a3, GetRAState(), kSaveFPRegs); |
} |
} |
Comment(";;; End allocate local context"); |
@@ -2687,7 +2687,7 @@ void LCodeGen::DoStoreContextSlot(LStoreContextSlot* instr) { |
target.offset(), |
value, |
scratch0(), |
- kRAHasBeenSaved, |
+ GetRAState(), |
kSaveFPRegs, |
EMIT_REMEMBERED_SET, |
check_needed); |
@@ -4030,7 +4030,7 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
HeapObject::kMapOffset, |
scratch, |
temp, |
- kRAHasBeenSaved, |
+ GetRAState(), |
kSaveFPRegs, |
OMIT_REMEMBERED_SET, |
OMIT_SMI_CHECK); |
@@ -4049,7 +4049,7 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
offset, |
value, |
scratch, |
- kRAHasBeenSaved, |
+ GetRAState(), |
kSaveFPRegs, |
EMIT_REMEMBERED_SET, |
check_needed); |
@@ -4064,7 +4064,7 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) { |
offset, |
value, |
object, |
- kRAHasBeenSaved, |
+ GetRAState(), |
kSaveFPRegs, |
EMIT_REMEMBERED_SET, |
check_needed); |
@@ -4275,7 +4275,7 @@ void LCodeGen::DoStoreKeyedFixedArray(LStoreKeyed* instr) { |
__ RecordWrite(elements, |
key, |
value, |
- kRAHasBeenSaved, |
+ GetRAState(), |
kSaveFPRegs, |
EMIT_REMEMBERED_SET, |
check_needed); |
@@ -4326,7 +4326,7 @@ void LCodeGen::DoTransitionElementsKind(LTransitionElementsKind* instr) { |
__ sw(new_map_reg, FieldMemOperand(object_reg, HeapObject::kMapOffset)); |
// Write barrier. |
__ RecordWriteField(object_reg, HeapObject::kMapOffset, new_map_reg, |
- scratch, kRAHasBeenSaved, kDontSaveFPRegs); |
+ scratch, GetRAState(), kDontSaveFPRegs); |
} else if (FLAG_compiled_transitions) { |
PushSafepointRegistersScope scope(this, Safepoint::kWithRegisters); |
__ mov(a0, object_reg); |