Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 0f31c14ad6d0767d165bd2c45fb456b66a4c0592..484eb8e3fb1aabef97521f31bbb3dc113e3fd0ac 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -29,6 +29,7 @@ |
#include <stdlib.h> |
+#define V8_DISABLE_DEPRECATIONS 1 |
#include "v8.h" |
#include "api.h" |
@@ -39,6 +40,7 @@ |
#include "platform.h" |
#include "stub-cache.h" |
#include "utils.h" |
+#undef V8_DISABLE_DEPRECATIONS |
using ::v8::internal::EmbeddedVector; |