Chromium Code Reviews| Index: src/codegen-ia32.cc |
| =================================================================== |
| --- src/codegen-ia32.cc (revision 1738) |
| +++ src/codegen-ia32.cc (working copy) |
| @@ -3179,10 +3179,12 @@ |
| ASSERT(!in_spilled_code()); |
| Comment cmnt(masm_, "[ DebuggerStatement"); |
| CodeForStatementPosition(node); |
| +#ifdef ENABLE_DEBUGGER_SUPPORT |
| // Spill everything, even constants, to the frame. |
| frame_->SpillAll(); |
| frame_->CallRuntime(Runtime::kDebugBreak, 0); |
| // Ignore the return value. |
| +#endif |
| } |