Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index a70b1fbfac80e4f6778d90b5b1c7402288a24b57..e8a8e0e012067e56f5df9dd82fa4893729670425 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -1298,6 +1298,8 @@ class Literal final : public Expression { |
}; |
+class AstLiteralReindexer; |
+ |
// Base class for literals that needs space in the corresponding JSFunction. |
class MaterializedLiteral : public Expression { |
public: |
@@ -1349,6 +1351,8 @@ class MaterializedLiteral : public Expression { |
bool is_simple_; |
bool is_strong_; |
int depth_; |
+ |
+ friend class AstLiteralReindexer; |
}; |