Index: src/codegen.cc |
=================================================================== |
--- src/codegen.cc (revision 1738) |
+++ src/codegen.cc (working copy) |
@@ -304,8 +304,10 @@ |
node->is_expression(), false, script_, |
node->inferred_name()); |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
// Notify debugger that a new function has been added. |
Debugger::OnNewFunction(function); |
+#endif |
// Set the expected number of properties for instances and return |
// the resulting function. |