Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index 6f6cb1e554419acf461eff194be087c92cf5c44e..ae7ec1a659bf7bb70ae4faeeadc6763c8bef88a0 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -3144,6 +3144,7 @@ class AstConstructionVisitor BASE_EMBEDDED { |
AST_NODE_LIST(DEF_VISIT) |
#undef DEF_VISIT |
+ void increase_node_count() { properties_.add_node_count(1); } |
void add_flag(AstPropertiesFlag flag) { properties_.flags()->Add(flag); } |
void set_dont_crankshaft_reason(BailoutReason reason) { |
dont_crankshaft_reason_ = reason; |