| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Efficient JavaScript based implementation of a linked hash map used as a | 5 // Efficient JavaScript based implementation of a linked hash map used as a |
| 6 // backing map for constant maps and the [LinkedHashMap] patch | 6 // backing map for constant maps and the [LinkedHashMap] patch |
| 7 | 7 |
| 8 part of _js_helper; | 8 part of _js_helper; |
| 9 | 9 |
| 10 const _USE_ES6_MAPS = const bool.fromEnvironment("dart2js.use.es6.maps"); | 10 const _USE_ES6_MAPS = const bool.fromEnvironment("dart2js.use.es6.maps"); |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 } else if (_cell == null) { | 417 } else if (_cell == null) { |
| 418 _current = null; | 418 _current = null; |
| 419 return false; | 419 return false; |
| 420 } else { | 420 } else { |
| 421 _current = _cell.hashMapCellKey; | 421 _current = _cell.hashMapCellKey; |
| 422 _cell = _cell._next; | 422 _cell = _cell._next; |
| 423 return true; | 423 return true; |
| 424 } | 424 } |
| 425 } | 425 } |
| 426 } | 426 } |
| OLD | NEW |