Index: src/v8.cc |
=================================================================== |
--- src/v8.cc (revision 1738) |
+++ src/v8.cc (working copy) |
@@ -72,7 +72,9 @@ |
v8::Locker::StartPreemption(100); |
} |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
Debug::Setup(create_heap_objects); |
+#endif |
StubCache::Initialize(create_heap_objects); |
// If we are deserializing, read the state into the now-empty heap. |
@@ -111,7 +113,9 @@ |
Heap::TearDown(); |
Logger::TearDown(); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
Debugger::TearDown(); |
+#endif |
has_been_setup_ = false; |
has_been_disposed_ = true; |