| Index: src/ic.cc
|
| ===================================================================
|
| --- src/ic.cc (revision 1738)
|
| +++ src/ic.cc (working copy)
|
| @@ -100,6 +100,7 @@
|
| }
|
|
|
|
|
| +#ifdef ENABLE_DEBUGGER_SUPPORT
|
| Address IC::OriginalCodeAddress() {
|
| HandleScope scope;
|
| // Compute the JavaScript frame for the frame pointer of this IC
|
| @@ -126,8 +127,8 @@
|
| int delta = original_code->instruction_start() - code->instruction_start();
|
| return addr + delta;
|
| }
|
| +#endif
|
|
|
| -
|
| IC::State IC::StateFrom(Code* target, Object* receiver) {
|
| IC::State state = target->ic_state();
|
|
|
| @@ -356,6 +357,7 @@
|
| if (opt->IsJSFunction()) return opt;
|
| }
|
|
|
| +#ifdef ENABLE_DEBUGGER_SUPPORT
|
| // Handle stepping into a function if step into is active.
|
| if (Debug::StepInActive()) {
|
| // Protect the result in a handle as the debugger can allocate and might
|
| @@ -365,6 +367,7 @@
|
| Debug::HandleStepIn(function, fp(), false);
|
| return *function;
|
| }
|
| +#endif
|
|
|
| return result;
|
| }
|
|
|