Changed the message reporting for try { ... } finally { ... } statements to
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 23 Oct 2008 08:40:19 +0000 (08:40 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 23 Oct 2008 08:40:19 +0000 (08:40 +0000)
commit63afc7bad326b2269c21fdc4cf24baab727cae0a
treede1659665d3673325d75248c1cb31d61e658f881
parentc7ed0707a3221a69ebb89d64270cbaf039c7a201
Changed the message reporting for try { ... } finally { ... } statements to
report the exception when they happen in the try block and not as previously
when re-thrown after execution of the finally block. There is no longer any
message generated by re-throw.

Added test cases for various combinations of try/catch/finally with throw in
different places.

Added a regression directory to the messages tests which is processed by the
test runner.

Added regression tests for the specific bugs fixed.

Runs all the test suites.

BUG=73
BUG=75
Review URL: http://codereview.chromium.org/8050

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@565 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
24 files changed:
src/messages.cc
src/top.cc
src/top.h
test/message/bugs/try-finally-linenum.js [deleted file]
test/message/bugs/try-finally-linenum.out [deleted file]
test/message/regress/regress-73.js [new file with mode: 0644]
test/message/regress/regress-73.out [new file with mode: 0644]
test/message/regress/regress-75.js [new file with mode: 0644]
test/message/regress/regress-75.out [new file with mode: 0644]
test/message/testcfg.py
test/message/try-catch-finally-no-message.js [new file with mode: 0644]
test/message/try-catch-finally-no-message.out [new file with mode: 0644]
test/message/try-catch-finally-throw-in-catch-and-finally.js [new file with mode: 0644]
test/message/try-catch-finally-throw-in-catch-and-finally.out [new file with mode: 0644]
test/message/try-catch-finally-throw-in-catch.js [new file with mode: 0644]
test/message/try-catch-finally-throw-in-catch.out [new file with mode: 0644]
test/message/try-catch-finally-throw-in-finally.js [new file with mode: 0644]
test/message/try-catch-finally-throw-in-finally.out [new file with mode: 0644]
test/message/try-finally-throw-in-finally.js [new file with mode: 0644]
test/message/try-finally-throw-in-finally.out [new file with mode: 0644]
test/message/try-finally-throw-in-try-and-finally.js [new file with mode: 0644]
test/message/try-finally-throw-in-try-and-finally.out [new file with mode: 0644]
test/message/try-finally-throw-in-try.js [new file with mode: 0644]
test/message/try-finally-throw-in-try.out [new file with mode: 0644]