| Index: src/compiler/node-properties.cc
|
| diff --git a/src/compiler/node-properties.cc b/src/compiler/node-properties.cc
|
| index 0d061a36c4f67e89b4b17ad782946b532841d1b5..659fb2a0f18d70737dd9cd9d0a3d060d6275b6d6 100644
|
| --- a/src/compiler/node-properties.cc
|
| +++ b/src/compiler/node-properties.cc
|
| @@ -130,6 +130,13 @@ bool NodeProperties::IsExceptionalCall(Node* node) {
|
|
|
|
|
| // static
|
| +void NodeProperties::ReplaceValueInput(Node* node, Node* value, int index) {
|
| + DCHECK(index < node->op()->ValueInputCount());
|
| + node->ReplaceInput(FirstValueIndex(node) + index, value);
|
| +}
|
| +
|
| +
|
| +// static
|
| void NodeProperties::ReplaceContextInput(Node* node, Node* context) {
|
| node->ReplaceInput(FirstContextIndex(node), context);
|
| }
|
|
|