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

Unified Diff: src/builtins.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/builtins.cc
===================================================================
--- src/builtins.cc (revision 17104)
+++ src/builtins.cc (working copy)
@@ -36,6 +36,7 @@
#include "ic-inl.h"
#include "heap-profiler.h"
#include "mark-compact.h"
+#include "msan.h"
#include "stub-cache.h"
#include "vm-state-inl.h"
@@ -132,6 +133,7 @@
MUST_USE_RESULT static MaybeObject* Builtin_##name( \
int args_length, Object** args_object, Isolate* isolate) { \
name##ArgumentsType args(args_length, args_object); \
+ MSAN_RUNTIME_FUNCTION3(args_length, args_object, isolate); \
args.Verify(); \
return Builtin_Impl_##name(args, isolate); \
} \
@@ -146,6 +148,7 @@
static MaybeObject* Builtin_##name( \
int args_length, Object** args_object, Isolate* isolate) { \
name##ArgumentsType args(args_length, args_object); \
+ MSAN_RUNTIME_FUNCTION3(args_length, args_object, isolate); \
return Builtin_impl##name(args, isolate); \
} \
static MaybeObject* Builtin_impl##name( \
« no previous file with comments | « src/atomicops_internals_x86_gcc.cc ('k') | src/deoptimizer.cc » ('j') | src/deoptimizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698