Index: test/unittests/compiler/tail-call-optimization-unittest.cc |
diff --git a/test/unittests/compiler/tail-call-optimization-unittest.cc b/test/unittests/compiler/tail-call-optimization-unittest.cc |
index 3c0f8c6139058e4c7b7dc8c0bef9d1e5bfd6f7c2..56fedeeb0903af9af4bcc2f005af221aac5631c9 100644 |
--- a/test/unittests/compiler/tail-call-optimization-unittest.cc |
+++ b/test/unittests/compiler/tail-call-optimization-unittest.cc |
@@ -59,8 +59,7 @@ TEST_F(TailCallOptimizationTest, CallCodeObject1) { |
Node* call = graph()->NewNode(common()->Call(kCallDescriptor), p0, p1, |
graph()->start(), graph()->start()); |
Node* if_success = graph()->NewNode(common()->IfSuccess(), call); |
- Node* if_exception = graph()->NewNode( |
- common()->IfException(IfExceptionHint::kLocallyUncaught), call, call); |
+ Node* if_exception = graph()->NewNode(common()->IfException(), call, call); |
Node* ret = graph()->NewNode(common()->Return(), call, call, if_success); |
Node* end = graph()->NewNode(common()->End(1), if_exception); |
graph()->SetEnd(end); |
@@ -125,8 +124,7 @@ TEST_F(TailCallOptimizationTest, CallJSFunction1) { |
Node* call = graph()->NewNode(common()->Call(kCallDescriptor), p0, p1, |
graph()->start(), graph()->start()); |
Node* if_success = graph()->NewNode(common()->IfSuccess(), call); |
- Node* if_exception = graph()->NewNode( |
- common()->IfException(IfExceptionHint::kLocallyUncaught), call, call); |
+ Node* if_exception = graph()->NewNode(common()->IfException(), call, call); |
Node* ret = graph()->NewNode(common()->Return(), call, call, if_success); |
Node* end = graph()->NewNode(common()->End(1), if_exception); |
graph()->SetEnd(end); |