Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index e550f511288f0ee4236e2feeff3dfada551439d4..c28518b3c91e1b0aca7ecb7970b1c5b4604f2f1b 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -3296,7 +3296,7 @@ Node* AstGraphBuilder::MakeNode(const Operator* op, int value_input_count, |
if (!result->op()->HasProperty(Operator::kNoThrow) && inside_try_scope) { |
Node* on_exception = graph()->NewNode(common()->IfException(), result); |
environment_->UpdateControlDependency(on_exception); |
- execution_control()->ThrowValue(result); |
+ execution_control()->ThrowValue(on_exception); |
} |
// Add implicit success continuation for throwing nodes. |
if (!result->op()->HasProperty(Operator::kNoThrow)) { |