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