Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index 25aa9d7a5a71b0c6b6a53721492db61ee77a9fff..d9135245fb3d21a7a3e5b2cd0078ec61a4e779e8 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -403,8 +403,8 @@ void AstNumberingVisitor::VisitCompareOperation(CompareOperation* node) { |
void AstNumberingVisitor::VisitSpread(Spread* node) { |
IncrementNodeCount(); |
- // We can only get here from super calls currently. |
- DisableFullCodegenAndCrankshaft(kSuperReference); |
+ // We can only get here from spread calls currently. |
+ DisableFullCodegenAndCrankshaft(kSpreadCall); |
node->set_base_id(ReserveIdRange(Spread::num_ids())); |
Visit(node->expression()); |
} |