| 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; | 5 part of dart2js; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * If true, print a warning for each method that was resolved, but not | 8 * If true, print a warning for each method that was resolved, but not |
| 9 * compiled. | 9 * compiled. |
| 10 */ | 10 */ |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 } | 138 } |
| 139 | 139 |
| 140 void registerGetOfStaticFunction(FunctionElement element) { | 140 void registerGetOfStaticFunction(FunctionElement element) { |
| 141 world.registerGetOfStaticFunction(element); | 141 world.registerGetOfStaticFunction(element); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void registerSelectorUse(Selector selector) { | 144 void registerSelectorUse(Selector selector) { |
| 145 world.registerSelectorUse(selector); | 145 world.registerSelectorUse(selector); |
| 146 } | 146 } |
| 147 | 147 |
| 148 void registerFactoryWithTypeArguments() { | |
| 149 world.registerFactoryWithTypeArguments(this); | |
| 150 } | |
| 151 | |
| 152 void registerConstSymbol(String name) { | 148 void registerConstSymbol(String name) { |
| 153 backend.registerConstSymbol(name, this); | 149 backend.registerConstSymbol(name, this); |
| 154 } | 150 } |
| 155 | 151 |
| 156 void registerSpecializedGetInterceptor(Set<ClassElement> classes) { | 152 void registerSpecializedGetInterceptor(Set<ClassElement> classes) { |
| 157 backend.registerSpecializedGetInterceptor(classes); | 153 backend.registerSpecializedGetInterceptor(classes); |
| 158 } | 154 } |
| 159 | 155 |
| 160 void registerUseInterceptor() { | 156 void registerUseInterceptor() { |
| 161 backend.registerUseInterceptor(world); | 157 backend.registerUseInterceptor(world); |
| (...skipping 2200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2362 InterfaceType get nullType => nullClass.computeType(compiler); | 2358 InterfaceType get nullType => nullClass.computeType(compiler); |
| 2363 | 2359 |
| 2364 @override | 2360 @override |
| 2365 InterfaceType get numType => numClass.computeType(compiler); | 2361 InterfaceType get numType => numClass.computeType(compiler); |
| 2366 | 2362 |
| 2367 @override | 2363 @override |
| 2368 InterfaceType get stringType => stringClass.computeType(compiler); | 2364 InterfaceType get stringType => stringClass.computeType(compiler); |
| 2369 } | 2365 } |
| 2370 | 2366 |
| 2371 typedef void InternalErrorFunction(Spannable location, String message); | 2367 typedef void InternalErrorFunction(Spannable location, String message); |
| OLD | NEW |