Posponed the setting of "external_caught_exception" to when leaving JavaScript
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 23 Oct 2008 12:54:13 +0000 (12:54 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 23 Oct 2008 12:54:13 +0000 (12:54 +0000)
commitf7367a9fe6a3f5a99aedeaea79b46893e214250e
tree09b820a3fbc3c3bc42ad42626d52bb1c71629084
parentb454b326a1975b043e24fc9e6e105a8b0dfc39ab
Posponed the setting of "external_caught_exception" to when leaving JavaScript
execution. This is achieved by storing a pointer to the C++ TryCatch when the
exception is thrown and checking that this is the handler active when leaving
JavaScript.
Review URL: http://codereview.chromium.org/8101

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@570 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/execution.cc
src/top.cc
src/top.h
test/mjsunit/api-call-after-overridden-exception.js [new file with mode: 0644]