Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index 81cb001b136ca198b3d37964174c80d8f32626c5..bf1151e59b4175b0c55e98083fcb1a5dc3badf7a 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -27,6 +27,7 @@ |
// |
// Tests of logging functions from log.h |
+#define V8_DISABLE_DEPRECATIONS 1 |
#ifdef __linux__ |
#include <pthread.h> |
#include <signal.h> |
@@ -43,6 +44,7 @@ |
#include "v8utils.h" |
#include "cctest.h" |
#include "vm-state-inl.h" |
+#undef V8_DISABLE_DEPRECATIONS |
using v8::internal::Address; |
using v8::internal::EmbeddedVector; |