Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index 7b5fc2b0fe7f9daa418ef9cc06338284a7bc0281..ca60ee7e28e66673c014e43ddd7484f23d50f05c 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -27,12 +27,14 @@ |
// |
// Tests of profiles generator and utilities. |
+#define V8_DISABLE_DEPRECATIONS 1 |
Sven Panne
2013/08/09 05:54:19
Actually I would prefer kicking the deprecated cal
yurys
2013/08/09 07:29:30
Done. I agree that in this case the same functiona
|
#include "v8.h" |
#include "cpu-profiler-inl.h" |
#include "cctest.h" |
#include "platform.h" |
#include "utils.h" |
#include "../include/v8-profiler.h" |
+#undef V8_DISABLE_DEPRECATIONS |
using i::CodeEntry; |
using i::CpuProfile; |
using i::CpuProfiler; |