|
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
Committed: http://code.google.com/p/v8/source/detail?r=565
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+558 lines, -89 lines) |
Patch |
|
M |
src/messages.cc
|
View
|
|
1 chunk |
+18 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/top.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/top.cc
|
View
|
1
2
|
4 chunks |
+19 lines, -17 lines |
0 comments
|
Download
|
|
D |
test/message/bugs/try-finally-linenum.js
|
View
|
1
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
|
D |
test/message/bugs/try-finally-linenum.out
|
View
|
1
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
|
A |
test/message/regress/regress-73.js
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/regress/regress-73.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A + |
test/message/regress/regress-75.js
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
test/message/regress/regress-75.out
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/message/testcfg.py
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-no-message.js
|
View
|
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-no-message.out
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-throw-in-catch.js
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-throw-in-catch.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-throw-in-catch-and-finally.js
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-throw-in-catch-and-finally.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-throw-in-finally.js
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-catch-finally-throw-in-finally.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-finally-throw-in-finally.js
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-finally-throw-in-finally.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-finally-throw-in-try.js
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-finally-throw-in-try.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-finally-throw-in-try-and-finally.js
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
|
A |
test/message/try-finally-throw-in-try-and-finally.out
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6 (0 generated)
|