Index: runtime/vm/scavenger.cc |
=================================================================== |
--- runtime/vm/scavenger.cc (revision 42458) |
+++ runtime/vm/scavenger.cc (working copy) |
@@ -524,6 +524,8 @@ |
StoreBufferBlock* pending = isolate->store_buffer()->Blocks(); |
while (pending != NULL) { |
StoreBufferBlock* next = pending->next(); |
+ // Generated code appends to store buffers; tell MemorySanitizer. |
+ MSAN_UNPOISON(pending, sizeof(*pending)); |
intptr_t count = pending->Count(); |
for (intptr_t i = 0; i < count; i++) { |
RawObject* raw_object = pending->At(i); |