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 72735f50fdd6389adfd9185dffc4155eeac5d97c..37e37d5182d9f2465ed42be351ba62877c772fae 100644 |
--- a/test/unittests/compiler/tail-call-optimization-unittest.cc |
+++ b/test/unittests/compiler/tail-call-optimization-unittest.cc |
@@ -59,7 +59,8 @@ 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(), call); |
+ Node* if_exception = graph()->NewNode( |
+ common()->IfException(IfExceptionHint::kLocallyUncaught), call); |
Node* ret = graph()->NewNode(common()->Return(), call, call, if_success); |
Node* end = graph()->NewNode(common()->End(1), if_exception); |
graph()->SetEnd(end); |
@@ -124,7 +125,8 @@ 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(), call); |
+ Node* if_exception = graph()->NewNode( |
+ common()->IfException(IfExceptionHint::kLocallyUncaught), call); |
Node* ret = graph()->NewNode(common()->Return(), call, call, if_success); |
Node* end = graph()->NewNode(common()->End(1), if_exception); |
graph()->SetEnd(end); |