Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 2718cdf30b89cba848c3c41b2a2e31d5020b4458..06e1adff014ea7c3bced3bc6e0b332dd7d9ff948 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1585,8 +1585,7 @@ void PromotionQueue::RelocateQueueHead() { |
struct Entry* entry = head_start++; |
// New space allocation in SemiSpaceCopyObject marked the region |
// overlapping with promotion queue as uninitialized. |
- MSAN_MEMORY_IS_INITIALIZED(&entry->size_, sizeof(size)); |
- MSAN_MEMORY_IS_INITIALIZED(&entry->obj_, sizeof(obj)); |
+ MSAN_MEMORY_IS_INITIALIZED(entry, sizeof(struct Entry)); |
emergency_stack_->Add(*entry); |
} |
rear_ = head_end; |