Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index e40316592f4b0c00af213630d307d78d8ba547b7..e868b55a44e65e710c31a2be3edfad2e03aa1011 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2233,7 +2233,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; |