Index: test/cctest/compiler/function-tester.h |
diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h |
index 3881f09c47faa6895a7a17487f36c055c1c03620..56dc0a9e732beb1b68f74e6aa3d25e1985a05c3f 100644 |
--- a/test/cctest/compiler/function-tester.h |
+++ b/test/cctest/compiler/function-tester.h |
@@ -61,7 +61,6 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(isolate->has_pending_exception()); |
CHECK(try_catch.HasCaught()); |
CHECK(no_result.is_null()); |
- // TODO(mstarzinger): Temporary workaround for issue chromium:362388. |
isolate->OptionalRescheduleException(true); |
} |
@@ -72,10 +71,8 @@ class FunctionTester : public InitializedHandleScope { |
CHECK(isolate->has_pending_exception()); |
CHECK(try_catch.HasCaught()); |
CHECK(no_result.is_null()); |
- // TODO(mstarzinger): Calling OptionalRescheduleException is a dirty hack, |
- // it's the only way to make Message() not to assert because an external |
- // exception has been caught by the try_catch. |
isolate->OptionalRescheduleException(true); |
+ CHECK(!try_catch.Message().IsEmpty()); |
return try_catch.Message(); |
} |