| Index: src/compiler.cc
|
| ===================================================================
|
| --- src/compiler.cc (revision 1738)
|
| +++ src/compiler.cc (working copy)
|
| @@ -92,8 +92,10 @@
|
| StackGuard guard;
|
| PostponeInterruptsScope postpone;
|
|
|
| +#ifdef ENABLE_DEBUGGER_SUPPORT
|
| // Notify debugger
|
| Debugger::OnBeforeCompile(script);
|
| +#endif
|
|
|
| // Only allow non-global compiles for eval.
|
| ASSERT(is_eval || is_global);
|
| @@ -160,8 +162,10 @@
|
| // the instances of the function.
|
| SetExpectedNofPropertiesFromEstimate(fun, lit->expected_property_count());
|
|
|
| +#ifdef ENABLE_DEBUGGER_SUPPORT
|
| // Notify debugger
|
| Debugger::OnAfterCompile(script, fun);
|
| +#endif
|
|
|
| return fun;
|
| }
|
|
|