Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 2fa038baa49736ea188662e1a876d2cc68bb16b3..667928cba18929cb423f725b324e1b8037e4c1c7 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2418,7 +2418,7 @@ LInstruction* LChunkBuilder::DoStoreNamedField(HStoreNamedField* instr) { |
bool is_external_location = instr->access().IsExternalMemory() && |
instr->access().offset() == 0; |
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; |