| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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; |
| 6 |
| 5 class World { | 7 class World { |
| 6 final Compiler compiler; | 8 final Compiler compiler; |
| 7 final Map<ClassElement, Set<ClassElement>> subtypes; | 9 final Map<ClassElement, Set<ClassElement>> subtypes; |
| 8 final Set<ClassElement> classesNeedingRti; | 10 final Set<ClassElement> classesNeedingRti; |
| 9 final Map<ClassElement, Set<ClassElement>> rtiDependencies; | 11 final Map<ClassElement, Set<ClassElement>> rtiDependencies; |
| 10 final FunctionSet userDefinedGetters; | 12 final FunctionSet userDefinedGetters; |
| 11 final FunctionSet userDefinedSetters; | 13 final FunctionSet userDefinedSetters; |
| 12 | 14 |
| 13 World(Compiler compiler) | 15 World(Compiler compiler) |
| 14 : subtypes = new Map<ClassElement, Set<ClassElement>>(), | 16 : subtypes = new Map<ClassElement, Set<ClassElement>>(), |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 final SourceString name; | 186 final SourceString name; |
| 185 | 187 |
| 186 MemberSet(SourceString this.name) : elements = new Set<Element>(); | 188 MemberSet(SourceString this.name) : elements = new Set<Element>(); |
| 187 | 189 |
| 188 void add(Element element) { | 190 void add(Element element) { |
| 189 elements.add(element); | 191 elements.add(element); |
| 190 } | 192 } |
| 191 | 193 |
| 192 bool get isEmpty => elements.isEmpty; | 194 bool get isEmpty => elements.isEmpty; |
| 193 } | 195 } |
| OLD | NEW |