Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index c422744c6cc95f38f61f5f2e38ac4e021dc091b5..905e86fab553bb72d24a18953fa0136b9d996c60 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -486,7 +486,7 @@ void AstNumberingVisitor::VisitForStatement(ForStatement* node) { |
void AstNumberingVisitor::VisitClassLiteral(ClassLiteral* node) { |
IncrementNodeCount(); |
DisableFullCodegenAndCrankshaft(kClassLiteral); |
- node->set_base_id(ReserveIdRange(node->num_ids())); |
+ node->set_base_id(ReserveIdRange(ClassLiteral::num_ids())); |
if (node->extends()) Visit(node->extends()); |
if (node->constructor()) Visit(node->constructor()); |
if (node->class_variable_proxy()) { |