Index: src/handles.cc |
=================================================================== |
--- src/handles.cc (revision 1738) |
+++ src/handles.cc (working copy) |
@@ -652,6 +652,7 @@ |
// We shouldn't get here if compiling the script failed. |
ASSERT(!boilerplate.is_null()); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
// When the debugger running in its own context touches lazy loaded |
// functions loading can be triggered. In that case ensure that the |
// execution of the boilerplate is in the correct context. |
@@ -660,6 +661,7 @@ |
Top::context() == *Debug::debug_context()) { |
Top::set_context(*compile_context); |
} |
+#endif |
// Reset the lazy load data before running the script to make sure |
// not to get recursive lazy loading. |