Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: src/heap/heap.cc

Issue 1790433005: [heap] Pass the right arguments to MSAN for promotion queue entries. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698