Chromium Code Reviews| Index: src/parser.cc |
| diff --git a/src/parser.cc b/src/parser.cc |
| index ec7605b5404eb214c96dc4b7473b842c55f4d763..ef9069ce43a3509766e3e7b57a43591271ac7462 100644 |
| --- a/src/parser.cc |
| +++ b/src/parser.cc |
| @@ -2259,7 +2259,7 @@ Block* Parser::ParseVariableDeclarations( |
| } |
| // Record the end position of the initializer. |
| - if (proxy->var() != NULL) { |
| + if (proxy->is_resolved()) { |
| proxy->var()->set_initializer_position(position()); |
| } |