Index: src/compiler/node-properties-inl.h |
diff --git a/src/compiler/node-properties-inl.h b/src/compiler/node-properties-inl.h |
index 0d296141e1486d0752b5dcb6dee6820b506595c4..e0f94de5d28ec7f2d802e00ea5508f00278c3dcc 100644 |
--- a/src/compiler/node-properties-inl.h |
+++ b/src/compiler/node-properties-inl.h |
@@ -144,6 +144,10 @@ inline bool NodeProperties::IsControl(Node* node) { |
// ----------------------------------------------------------------------------- |
// Miscellaneous mutators. |
+inline void NodeProperties::ReplaceContextInput(Node* node, Node* context) { |
+ node->ReplaceInput(FirstContextIndex(node), context); |
+} |
+ |
inline void NodeProperties::ReplaceControlInput(Node* node, Node* control) { |
node->ReplaceInput(FirstControlIndex(node), control); |
} |