Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 1857b4a47c524f19fddbbb3d23174efb1848407f..442bd9c65c56f52c55b9ba00498eec58b2b46270 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2322,7 +2322,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; |