Index: src/ast/ast-numbering.cc |
diff --git a/src/ast/ast-numbering.cc b/src/ast/ast-numbering.cc |
index ce73e3d850dc7b22be9f6e4e310254f623767f97..9c3aa04f0e9e15b7adfab13aa2ab184ba893952f 100644 |
--- a/src/ast/ast-numbering.cc |
+++ b/src/ast/ast-numbering.cc |
@@ -268,7 +268,7 @@ void AstNumberingVisitor::VisitCallRuntime(CallRuntime* node) { |
ReserveFeedbackSlots(node); |
if (node->is_jsruntime()) { |
// Don't try to optimize JS runtime calls because we bailout on them. |
- DisableOptimization(kCallToAJavaScriptRuntimeFunction); |
+ DisableCrankshaft(kCallToAJavaScriptRuntimeFunction); |
} |
node->set_base_id(ReserveIdRange(CallRuntime::num_ids())); |
VisitArguments(node->arguments()); |