diff --git a/src/compiler.cc b/src/compiler.cc index 5a62b305e2..53a4685a2c 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -600,10 +600,6 @@ CodeGenSelector::CodeGenTag CodeGenSelector::Select(FunctionLiteral* fun) { } } - if (scope->num_heap_slots() != 0) { - if (FLAG_trace_bailout) PrintF("function has context slots\n"); - return NORMAL; - } if (scope->arguments() != NULL) { if (FLAG_trace_bailout) PrintF("function uses 'arguments'\n"); return NORMAL;