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