| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 202d7abd9f480fa612590ed8dfa6ebd110822885..6c24980a3a3f822acac5cb1dac54912b1f138dd6 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -4595,6 +4595,23 @@ void CEntryStub::Generate(MacroAssembler* masm) {
|
| __ ThrowUncatchable(eax);
|
|
|
| __ bind(&throw_normal_exception);
|
| +
|
| +#ifdef ENABLE_DEBUGGER_SUPPORT
|
| + Label proceed_throwing;
|
| + ExternalReference c_entry_frame_to_ignore_exception =
|
| + ExternalReference(Debug_Address::CEntryFrameToIgnoreException(),
|
| + masm->isolate());
|
| +
|
| + __ cmp(ebp, Operand::StaticVariable(c_entry_frame_to_ignore_exception));
|
| + __ j(not_equal, &proceed_throwing, Label::kNear);
|
| + __ mov(Operand::StaticVariable(c_entry_frame_to_ignore_exception),
|
| + Immediate(0));
|
| + __ LeaveExitFrame(save_doubles_ == kSaveFPRegs);
|
| + __ ret(0);
|
| +
|
| + __ bind(&proceed_throwing);
|
| +#endif // ENABLE_DEBUGGER_SUPPORT
|
| +
|
| __ Throw(eax);
|
| }
|
|
|
|
|