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

Unified Diff: src/frames.cc

Issue 26006004: Annotate V8 for MemorySanitizer. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 2 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
Index: src/frames.cc
===================================================================
--- src/frames.cc (revision 17104)
+++ src/frames.cc (working copy)
@@ -33,6 +33,7 @@
#include "full-codegen.h"
#include "lazy-instance.h"
#include "mark-compact.h"
+#include "msan.h"
#include "safepoint-table.h"
#include "scopeinfo.h"
#include "string-stream.h"
@@ -424,6 +425,7 @@
holder = reinterpret_cast<Code*>(code);
pc = holder->instruction_start() + pc_offset;
*pc_address = pc;
+ MSAN_MEMORY_IS_INITIALIZED(pc_address, sizeof(*pc_address));
}
}

Powered by Google App Engine
This is Rietveld 408576698