Index: runtime/vm/ast.h |
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h |
index aceb0b034ee3929c2f6f0d4756a51ba9cefe9a74..03d65a06f3561c9161e330c1ec2dadd0a08eb75a 100644 |
--- a/runtime/vm/ast.h |
+++ b/runtime/vm/ast.h |
@@ -165,6 +165,7 @@ class SequenceNode : public AstNode { |
void Add(AstNode* node) { nodes_.Add(node); } |
intptr_t length() const { return nodes_.length(); } |
AstNode* NodeAt(intptr_t index) const { return nodes_[index]; } |
+ void ReplaceNodeAt(intptr_t index, AstNode* value) { nodes_[index] = value; } |
DECLARE_COMMON_NODE_FUNCTIONS(SequenceNode); |