Index: src/compiler/effect-control-linearizer.cc |
diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc |
index 220487c66fb36c699f8ec627a4f48e8185a41553..d625a753ad203060b30ec196338f530175f5c6ec 100644 |
--- a/src/compiler/effect-control-linearizer.cc |
+++ b/src/compiler/effect-control-linearizer.cc |
@@ -531,7 +531,7 @@ void EffectControlLinearizer::ProcessNode(Node* node, Node** frame_state, |
// Unlink the check point; effect uses will be updated to the incoming |
// effect that is passed. The frame state is preserved for lowering. |
DCHECK_EQ(RegionObservability::kObservable, region_observability_); |
- *frame_state = NodeProperties::GetFrameStateInput(node, 0); |
+ *frame_state = NodeProperties::GetFrameStateInput(node); |
return; |
} |