 Chromium Code Reviews
 Chromium Code Reviews Issue 507040:
  -Inlined double variant of compare iff one of the sides is a constant smi and...  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 507040:
  -Inlined double variant of compare iff one of the sides is a constant smi and...  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/parser.cc | 
| =================================================================== | 
| --- src/parser.cc (revision 3485) | 
| +++ src/parser.cc (working copy) | 
| @@ -2657,6 +2657,9 @@ | 
| Expression* cond = NULL; | 
| if (peek() != Token::SEMICOLON) { | 
| cond = ParseExpression(true, CHECK_OK); | 
| + if (cond && cond->AsCompareOperation()) { | 
| + cond->AsCompareOperation()->set_is_for_loop_condition(); | 
| + } | 
| } | 
| Expect(Token::SEMICOLON, CHECK_OK); |