Fix a bad commit due to an svn merge error.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 5 Nov 2009 16:21:27 +0000 (16:21 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 5 Nov 2009 16:21:27 +0000 (16:21 +0000)
Review URL: http://codereview.chromium.org/368007

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3232 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/compiler.cc

index 5a62b305e2cad2c7161bc77bee07284de1109532..53a4685a2ce99bb0ac3acf93ab0a33174e60d9b6 100644 (file)
@@ -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;