| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 library dart2js.js_emitter.startup_emitter; | 5 library dart2js.js_emitter.startup_emitter; |
| 6 | 6 |
| 7 import 'package:js_runtime/shared/embedded_names.dart' | 7 import 'package:js_runtime/shared/embedded_names.dart' |
| 8 show JsBuiltin, METADATA, STATIC_FUNCTION_NAME_TO_CLOSURE, TYPES; | 8 show JsBuiltin, METADATA, STATIC_FUNCTION_NAME_TO_CLOSURE, TYPES; |
| 9 | 9 |
| 10 import '../../common.dart'; | 10 import '../../common.dart'; |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 return null; | 194 return null; |
| 195 } | 195 } |
| 196 } | 196 } |
| 197 | 197 |
| 198 @override | 198 @override |
| 199 int generatedSize(OutputUnit unit) { | 199 int generatedSize(OutputUnit unit) { |
| 200 Fragment key = _emitter.outputBuffers.keys | 200 Fragment key = _emitter.outputBuffers.keys |
| 201 .firstWhere((Fragment fragment) => fragment.outputUnit == unit); | 201 .firstWhere((Fragment fragment) => fragment.outputUnit == unit); |
| 202 return _emitter.outputBuffers[key].length; | 202 return _emitter.outputBuffers[key].length; |
| 203 } | 203 } |
| 204 | |
| 205 @override | |
| 206 void invalidateCaches() {} | |
| 207 } | 204 } |
| OLD | NEW |