Index: test/cctest/compiler/test-run-jsexceptions.cc |
diff --git a/test/cctest/compiler/test-run-jsexceptions.cc b/test/cctest/compiler/test-run-jsexceptions.cc |
index 022aa20227cdf333e886dea741ee096ed7ca34de..23b9b4f249d6a432b1b6700b9de4600877d215bb 100644 |
--- a/test/cctest/compiler/test-run-jsexceptions.cc |
+++ b/test/cctest/compiler/test-run-jsexceptions.cc |
@@ -13,10 +13,7 @@ TEST(Throw) { |
i::FLAG_turbo_exceptions = true; |
FunctionTester T("(function(a,b) { if (a) { throw b; } else { return b; }})"); |
-// TODO(mstarzinger) |
-#if 0 |
T.CheckThrows(T.true_value(), T.NewObject("new Error")); |
-#endif |
T.CheckCall(T.Val(23), T.false_value(), T.Val(23)); |
} |
@@ -56,14 +53,11 @@ TEST(ThrowMessageDirectly) { |
FunctionTester T(src); |
v8::Handle<v8::Message> message; |
-// TODO(mstarzinger) |
-#if 0 |
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?"))); |
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!"))); |
-#endif |
} |
@@ -80,14 +74,11 @@ TEST(ThrowMessageIndirectly) { |
FunctionTester T(src); |
v8::Handle<v8::Message> message; |
-// TODO(mstarzinger) |
-#if 0 |
message = T.CheckThrowsReturnMessage(T.false_value(), T.Val("Wat?")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Error: Wat?"))); |
message = T.CheckThrowsReturnMessage(T.true_value(), T.Val("Kaboom!")); |
CHECK(message->Get()->Equals(v8_str("Uncaught Kaboom!"))); |
-#endif |
} |