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( \ |