| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart2js.js_emitter; | 5 part of dart2js.js_emitter; |
| 6 | 6 |
| 7 class MetadataCollector { | 7 class MetadataCollector { |
| 8 final Compiler _compiler; | 8 final Compiler _compiler; |
| 9 final Emitter _emitter; | 9 final Emitter _emitter; |
| 10 | 10 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // TODO(ahe): Why is metadata sometimes null? | 119 // TODO(ahe): Why is metadata sometimes null? |
| 120 if (link != null) { | 120 if (link != null) { |
| 121 for (; !link.isEmpty; link = link.tail) { | 121 for (; !link.isEmpty; link = link.tail) { |
| 122 metadata.add(reifyMetadata(link.head)); | 122 metadata.add(reifyMetadata(link.head)); |
| 123 } | 123 } |
| 124 } | 124 } |
| 125 return metadata; | 125 return metadata; |
| 126 }); | 126 }); |
| 127 } | 127 } |
| 128 } | 128 } |
| OLD | NEW |