Chromium Code Reviews| Index: runtime/vm/parser.cc |
| =================================================================== |
| --- runtime/vm/parser.cc (revision 33253) |
| +++ runtime/vm/parser.cc (working copy) |
| @@ -9015,11 +9015,7 @@ |
| } |
| if (local != NULL) { |
| if (node != NULL) { |
| - if (local->IsConst()) { |
| - *node = new LiteralNode(ident_pos, *local->ConstValue()); |
| - } else { |
| - *node = new LoadLocalNode(ident_pos, local); |
| - } |
| + *node = new LoadLocalNode(ident_pos, local); |
| } |
| return true; |
| } |