| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index f5c01e6162b344f27abe7af30d8488e9f83c33ba..7f63ebca3debbc4fb1b2013ee43bcf2798a6056b 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -270,8 +270,8 @@ TEST(UncaughtThrow) {
|
| CHECK(!fun.is_null());
|
| bool has_pending_exception;
|
| Handle<JSObject> global(Isolate::Current()->context()->global());
|
| - Handle<Object> result =
|
| - Execution::Call(fun, global, 0, NULL, &has_pending_exception);
|
| + Handle<Object> result(
|
| + Execution::Call(fun, global, 0, NULL, &has_pending_exception));
|
| CHECK(has_pending_exception);
|
| CHECK_EQ(42.0, Isolate::Current()->pending_exception()->
|
| ToObjectChecked()->Number());
|
|
|