Commit 95df7c34 authored by Hannes Payer's avatar Hannes Payer

[heap] Pass the right arguments to MSAN for promotion queue entries.

BUG=chromium:561449
LOG=n
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/1790433005 .

Cr-Commit-Position: refs/heads/master@{#34726}
parent cbd91c52
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment