| Index: test/cctest/compiler/test-run-jsexceptions.cc
|
| diff --git a/test/cctest/compiler/test-run-jsexceptions.cc b/test/cctest/compiler/test-run-jsexceptions.cc
|
| index 7610962aa2a219bb17a0740a776674746772e293..172f0f8914855fb634133ce9787e8c08d5b1a2a9 100644
|
| --- a/test/cctest/compiler/test-run-jsexceptions.cc
|
| +++ b/test/cctest/compiler/test-run-jsexceptions.cc
|
| @@ -125,7 +125,7 @@ TEST(CatchCall) {
|
| " var r = '-';"
|
| " try {"
|
| " r += 'A-';"
|
| - " fun();"
|
| + " return r + 'B-' + fun();"
|
| " } catch (e) {"
|
| " r += e;"
|
| " }"
|
| @@ -137,6 +137,8 @@ TEST(CatchCall) {
|
| #if 0 // TODO(mstarzinger): Enable once we have exception handlers.
|
| T.CheckCall(T.Val("-A-T-"), T.NewFunction("thrower"));
|
| #endif
|
| + CompileRun("function returner() { return 'R-'; }");
|
| + T.CheckCall(T.Val("-A-B-R-"), T.NewFunction("returner"));
|
| }
|
|
|
|
|
|
|