Index: src/compiler/node-properties-inl.h |
diff --git a/src/compiler/node-properties-inl.h b/src/compiler/node-properties-inl.h |
index bc52dfdb7519d6470a658e2729ab49ca7d32652c..3f6d53105b1018e2a322f17c822f744c0df56497 100644 |
--- a/src/compiler/node-properties-inl.h |
+++ b/src/compiler/node-properties-inl.h |
@@ -162,6 +162,12 @@ inline void NodeProperties::ReplaceEffectInput(Node* node, Node* effect, |
return node->ReplaceInput(FirstEffectIndex(node) + index, effect); |
} |
+inline void NodeProperties::ReplaceFrameStateInput(Node* node, |
+ Node* frame_state) { |
+ DCHECK(OperatorProperties::HasFrameStateInput(node->op())); |
+ node->ReplaceInput(FirstFrameStateIndex(node), frame_state); |
+} |
+ |
inline void NodeProperties::RemoveNonValueInputs(Node* node) { |
node->TrimInputCount(OperatorProperties::GetValueInputCount(node->op())); |
} |