Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index e7ad219964b3946b35e81dbd76011d7e8ff2133f..db8bbf7de589a8ba91f117ab76cc11a60bd828c0 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -3492,7 +3492,7 @@ void HAllocate::HandleSideEffectDominator(GVNFlag side_effect, |
dominator_allocate->ClearNextMapWord(original_object_size); |
#endif |
- dominator_allocate->clear_next_map_word_ = clear_next_map_word_; |
+ dominator_allocate->UpdateClearNextMapWord(MustClearNextMapWord()); |
// After that replace the dominated allocate instruction. |
HInstruction* dominated_allocate_instr = |
@@ -3628,7 +3628,7 @@ void HAllocate::CreateFreeSpaceFiller(int32_t free_space_size) { |
void HAllocate::ClearNextMapWord(int offset) { |
- if (clear_next_map_word_) { |
+ if (MustClearNextMapWord()) { |
Zone* zone = block()->zone(); |
HObjectAccess access = HObjectAccess::ForJSObjectOffset(offset); |
HStoreNamedField* clear_next_map = |