Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 787645a634c4b72c8c105ff39f7ed57eeb2b8844..5482a44d0584098e8b6fa48f2d3da338fa6be779 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -220,7 +220,7 @@ TEST(UncaughtThrow) { |
Handle<JSObject> global(isolate->context()->global_object()); |
Execution::Call(isolate, fun, global, 0, NULL, &has_pending_exception); |
CHECK(has_pending_exception); |
- CHECK_EQ(42.0, isolate->pending_exception()->ToObjectChecked()->Number()); |
+ CHECK_EQ(42.0, isolate->pending_exception()->Number()); |
} |