Index: src/ast-literal-reindexer.h |
diff --git a/src/ast-literal-reindexer.h b/src/ast-literal-reindexer.h |
index 9e445129a5ecfb9be85ca413f2c44c2f2f222a18..2fe920b7c46d303f405615e0e5345aa4c6e4af8d 100644 |
--- a/src/ast-literal-reindexer.h |
+++ b/src/ast-literal-reindexer.h |
@@ -17,6 +17,7 @@ class AstLiteralReindexer final : public AstVisitor { |
int count() const { return next_index_; } |
void Reindex(Expression* pattern); |
+ int NextIndex() { return next_index_++; } |
private: |
#define DEFINE_VISIT(type) virtual void Visit##type(type* node) override; |