Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 59113e064919f199c2f4783c21ff4fad768476ce..759585c1c85045f58353349b9618afe03e82a900 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -1559,6 +1559,7 @@ TEST(SfiAndJsFunctionWeakRefs) { |
} |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
TEST(NoDebugObjectInSnapshot) { |
v8::HandleScope scope; |
LocalContext env; |
@@ -1581,6 +1582,7 @@ TEST(NoDebugObjectInSnapshot) { |
} |
CHECK_EQ(1, globals_count); |
} |
+#endif // ENABLE_DEBUGGER_SUPPORT |
TEST(PersistentHandleCount) { |