| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 fasta.target_implementation; | 5 library fasta.target_implementation; |
| 6 | 6 |
| 7 import 'package:kernel/target/vm.dart' show VmTarget; | 7 import 'package:kernel/target/vm.dart' show VmTarget; |
| 8 | 8 |
| 9 import 'builder/builder.dart' show Builder, ClassBuilder, LibraryBuilder; | 9 import 'builder/builder.dart' show Builder, ClassBuilder, LibraryBuilder; |
| 10 | 10 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 LibraryBuilder internal = loader.read(Uri.parse("dart:_internal")); | 58 LibraryBuilder internal = loader.read(Uri.parse("dart:_internal")); |
| 59 return cachedNativeAnnotation = internal.getConstructor("ExternalName"); | 59 return cachedNativeAnnotation = internal.getConstructor("ExternalName"); |
| 60 } | 60 } |
| 61 | 61 |
| 62 void loadExtraRequiredLibraries(Loader loader) { | 62 void loadExtraRequiredLibraries(Loader loader) { |
| 63 for (String uri in new VmTarget(null).extraRequiredLibraries) { | 63 for (String uri in new VmTarget(null).extraRequiredLibraries) { |
| 64 loader.read(Uri.parse(uri)); | 64 loader.read(Uri.parse(uri)); |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 | 67 |
| 68 void addLineStarts(Uri uri, List<int> lineStarts); | 68 void addSourceInformation( |
| 69 Uri uri, List<int> lineStarts, List<int> sourceCode); |
| 69 } | 70 } |
| OLD | NEW |