Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index f9144bcb8cefbe557b9566f2582c09b1c3cc268a..6998187e8cdf9ff6171b6de1e55b7d8b7b33cd4e 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -452,7 +452,7 @@ void AstNumberingVisitor::VisitForStatement(ForStatement* node) { |
void AstNumberingVisitor::VisitClassLiteral(ClassLiteral* node) { |
IncrementNodeCount(); |
- DisableTurbofan(kClassLiteral); |
+ DisableCrankshaft(kClassLiteral); |
node->set_base_id(ReserveIdRange(ClassLiteral::num_ids())); |
if (node->extends()) Visit(node->extends()); |
if (node->constructor()) Visit(node->constructor()); |