Chromium Code Reviews

Unified Diff: test/cctest/test-heap-profiler.cc

Issue 10702093: Fix compilation when disabling debugger support. (Closed) Base URL: ssh://dinauz.org/home/ivoire/projects/v8.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..c9a2f40988576678093e727196a57567610df34c 100644
--- a/test/cctest/test-heap-profiler.cc
+++ b/test/cctest/test-heap-profiler.cc
@@ -1563,7 +1563,9 @@ TEST(NoDebugObjectInSnapshot) {
v8::HandleScope scope;
LocalContext env;
+#ifdef ENABLE_DEBUGGER_SUPPORT
v8::internal::Isolate::Current()->debug()->Load();
+#endif
CompileRun("foo = {};");
const v8::HeapSnapshot* snapshot =
v8::HeapProfiler::TakeSnapshot(v8_str("snapshot"));
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine