My question here is: by skipping the try-catch handler, where is that pending exception handled? I don't see it being cleared anywhere. So even though we
restarted the frame, the old exception is still pending?

I guess the following code always takes care of pending exception variable:
  // Clear the pending exception.
  __ mov(edx, Immediate(masm->isolate()->factory()->the_hole_value()));
  __ mov(Operand::StaticVariable(pending_exception_address), edx);


It is from CEntryStub::GenerateCore and it gets executed whenever exception is
being thrown.
So I guess we shouldn't do anything else.



https://codereview.chromium.org/22801003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to