| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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.kernel.frontend_strategy; | 5 library dart2js.kernel.frontend_strategy; |
| 6 | 6 |
| 7 import '../../compiler_new.dart' as api; | 7 import '../../compiler_new.dart' as api; |
| 8 import '../common.dart'; | 8 import '../common.dart'; |
| 9 import '../common_elements.dart'; | 9 import '../common_elements.dart'; |
| 10 import '../common/backend_api.dart'; | 10 import '../common/backend_api.dart'; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 ScriptLoader scriptLoader, | 62 ScriptLoader scriptLoader, |
| 63 api.CompilerInput compilerInput, | 63 api.CompilerInput compilerInput, |
| 64 ElementScanner scriptScanner, | 64 ElementScanner scriptScanner, |
| 65 LibraryDeserializer deserializer, | 65 LibraryDeserializer deserializer, |
| 66 PatchResolverFunction patchResolverFunc, | 66 PatchResolverFunction patchResolverFunc, |
| 67 PatchParserTask patchParser, | 67 PatchParserTask patchParser, |
| 68 env.Environment environment, | 68 env.Environment environment, |
| 69 DiagnosticReporter reporter, | 69 DiagnosticReporter reporter, |
| 70 Measurer measurer) { | 70 Measurer measurer) { |
| 71 return new KernelLibraryLoaderTask(_options.platformConfigUri.resolve("."), | 71 return new KernelLibraryLoaderTask(_options.platformConfigUri.resolve("."), |
| 72 _elementMap, compilerInput, reporter, measurer); | 72 _options.packageConfig, _elementMap, compilerInput, reporter, measurer); |
| 73 } | 73 } |
| 74 | 74 |
| 75 @override | 75 @override |
| 76 ElementEnvironment get elementEnvironment => _elementMap.elementEnvironment; | 76 ElementEnvironment get elementEnvironment => _elementMap.elementEnvironment; |
| 77 | 77 |
| 78 @override | 78 @override |
| 79 CommonElements get commonElements => _elementMap.commonElements; | 79 CommonElements get commonElements => _elementMap.commonElements; |
| 80 | 80 |
| 81 DartTypes get dartTypes => _elementMap.types; | 81 DartTypes get dartTypes => _elementMap.types; |
| 82 | 82 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 int get preMirrorsMethodCount { | 243 int get preMirrorsMethodCount { |
| 244 // TODO(redemption): Implement this. | 244 // TODO(redemption): Implement this. |
| 245 return null; | 245 return null; |
| 246 } | 246 } |
| 247 | 247 |
| 248 @override | 248 @override |
| 249 void onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses) { | 249 void onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses) { |
| 250 // TODO(redemption): Implement this. | 250 // TODO(redemption): Implement this. |
| 251 } | 251 } |
| 252 } | 252 } |
| OLD | NEW |