| Index: test/cctest/interpreter/test-interpreter.cc
|
| diff --git a/test/cctest/interpreter/test-interpreter.cc b/test/cctest/interpreter/test-interpreter.cc
|
| index 6644c13cb520002239a6a767930b686c51002632..4de061fcd2a54d3e559d27b313413fe3f3ca8fa4 100644
|
| --- a/test/cctest/interpreter/test-interpreter.cc
|
| +++ b/test/cctest/interpreter/test-interpreter.cc
|
| @@ -2075,6 +2075,15 @@ TEST(InterpreterTryFinally) {
|
| " try { a = 3; throw 23; } finally { a = 4; }"
|
| "} catch(e) { a = a + e; } return a;",
|
| factory->NewStringFromStaticChars("R27")),
|
| + std::make_pair("var func_name;"
|
| + "function tcf2(a) {"
|
| + " try { throw new Error('boom');} "
|
| + " catch(e) {return 153; } "
|
| + " finally {func_name = tcf2.name;}"
|
| + "}"
|
| + "tcf2();"
|
| + "return func_name;",
|
| + factory->NewStringFromStaticChars("Rtcf2")),
|
| };
|
|
|
| const char* try_wrapper =
|
|
|