Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index a5371f7d67334fffd712fd6ac672e1b842709a10..f981f579e744b8549fc0f7e14e93f2a5bf7e63ba 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2245,7 +2245,7 @@ LInstruction* LChunkBuilder::DoTrapAllocationMemento( |
LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
bool is_in_object = instr->access().IsInobject(); |
bool needs_write_barrier = instr->NeedsWriteBarrier(); |
- bool needs_write_barrier_for_map = !instr->transition().is_null() && |
+ bool needs_write_barrier_for_map = instr->has_transition() && |
instr->NeedsWriteBarrierForMap(); |
LOperand* obj; |