Fix minor syntax error which broke the compilation.
authoroleg@chromium.org <oleg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 2 Mar 2010 14:32:31 +0000 (14:32 +0000)
committeroleg@chromium.org <oleg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 2 Mar 2010 14:32:31 +0000 (14:32 +0000)
TBR=whesse@chromium.org

Review URL: http://codereview.chromium.org/660377

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

src/rewriter.cc

index db84243..4ff78c0 100644 (file)
@@ -249,7 +249,7 @@ void AstOptimizer::VisitVariableProxy(VariableProxy* node) {
       Slot* slot = var->slot();
       node->set_side_effect_free(
           (slot->type() == Slot::LOCAL  && !slot->is_arguments()) ||
-          slot->type() == Slot::PARAMETER));
+          slot->type() == Slot::PARAMETER);
       // stack_height and expression_size remain 0.
     }
   }