Preserve message when rethrowing exception
authoryangguo@chromium.org <yangguo@chromium.org>
Tue, 23 Sep 2014 14:29:45 +0000 (14:29 +0000)
committeryangguo@chromium.org <yangguo@chromium.org>
Tue, 23 Sep 2014 14:29:45 +0000 (14:29 +0000)
commit6393ea9e1afea0da51cbbd23df48fff503e7b11d
tree5a1e0873bb642a16bf571f4362128abdf12d19f1
parent262c98593f08e3fb85157bd27bdeb3226ce14df1
Preserve message when rethrowing exception

A new message was always generated if there is a the top-most verbose
TryCatch, even when rethrowing an exception from a TryCatch that is going
out of scope, and we already have a message.

BUG=v8:3583
LOG=Y
R=yangguo@chromium.org

Review URL: https://codereview.chromium.org/587703002

Patch from Jens Widell <jl@opera.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24152 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/isolate.cc