| Index: test/cctest/test-compiler.cc
|
| diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
|
| index 7f63ebca3debbc4fb1b2013ee43bcf2798a6056b..9ca0b0a170f260602b9e417a5b88ce85b5837a8d 100644
|
| --- a/test/cctest/test-compiler.cc
|
| +++ b/test/cctest/test-compiler.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2011 the V8 project authors. All rights reserved.
|
| +// Copyright 2012 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -270,8 +270,7 @@ 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));
|
| + Execution::Call(fun, global, 0, NULL, &has_pending_exception);
|
| CHECK(has_pending_exception);
|
| CHECK_EQ(42.0, Isolate::Current()->pending_exception()->
|
| ToObjectChecked()->Number());
|
|
|