Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index edbf62ba9ec1b818bfdde3e3d032ab7fa95538d5..45f05f38e625053645652fe0b8bd76525f2e18c7 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -181,7 +181,7 @@ void AstNumberingVisitor::VisitThisFunction(ThisFunction* node) { |
void AstNumberingVisitor::VisitSuperPropertyReference( |
SuperPropertyReference* node) { |
IncrementNodeCount(); |
- DisableOptimization(kSuperReference); |
+ DisableCrankshaft(kSuperReference); |
node->set_base_id(ReserveIdRange(SuperPropertyReference::num_ids())); |
Visit(node->this_var()); |
Visit(node->home_object()); |
@@ -190,7 +190,7 @@ void AstNumberingVisitor::VisitSuperPropertyReference( |
void AstNumberingVisitor::VisitSuperCallReference(SuperCallReference* node) { |
IncrementNodeCount(); |
- DisableOptimization(kSuperReference); |
+ DisableCrankshaft(kSuperReference); |
node->set_base_id(ReserveIdRange(SuperCallReference::num_ids())); |
Visit(node->this_var()); |
Visit(node->new_target_var()); |