Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: pkg/compiler/lib/src/library_loader.dart

Issue 2964683003: Split implementation of KernelToElementMapImpl (Closed)
Patch Set: Updated cf. comments Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/kernel/types.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/library_loader.dart
diff --git a/pkg/compiler/lib/src/library_loader.dart b/pkg/compiler/lib/src/library_loader.dart
index ffe248bc57bdd70ce9400904c726d7526fdd4dd7..e471c1f1f8c226f40f52ee201d9c83de3398fd1d 100644
--- a/pkg/compiler/lib/src/library_loader.dart
+++ b/pkg/compiler/lib/src/library_loader.dart
@@ -31,7 +31,7 @@ import 'elements/modelx.dart'
import 'enqueue.dart' show DeferredAction;
import 'environment.dart';
import 'io/source_file.dart' show Binary;
-import 'kernel/element_map_impl.dart' show KernelToElementMapImpl;
+import 'kernel/element_map_impl.dart' show KernelToElementMapForImpactImpl;
import 'patch_parser.dart' show PatchParserTask;
import 'resolved_uri_translator.dart';
import 'script.dart';
@@ -821,7 +821,7 @@ class DillLibraryLoaderTask extends CompilerTask implements LibraryLoaderTask {
/// Holds the mapping of Kernel IR to KElements that is constructed as a
/// result of loading a program.
- final KernelToElementMapImpl _elementMap;
+ final KernelToElementMapForImpactImpl _elementMap;
List<LibraryEntity> _allLoadedLibraries;
@@ -862,7 +862,7 @@ class DillLibraryLoaderTask extends CompilerTask implements LibraryLoaderTask {
rootLibrary, _allLoadedLibraries, _elementMap);
}
- KernelToElementMapImpl get elementMap => _elementMap;
+ KernelToElementMapForImpactImpl get elementMap => _elementMap;
void reset({bool reuseLibrary(LibraryElement library)}) {
throw new UnimplementedError('DillLibraryLoaderTask.reset');
@@ -1596,7 +1596,7 @@ class _LoadedLibraries implements LoadedLibraries {
class _LoadedLibrariesAdapter implements LoadedLibraries {
final LibraryEntity rootLibrary;
final List<LibraryEntity> _newLibraries;
- final KernelToElementMapImpl worldBuilder;
+ final KernelToElementMapForImpactImpl worldBuilder;
_LoadedLibrariesAdapter(
this.rootLibrary, this._newLibraries, this.worldBuilder) {
« no previous file with comments | « pkg/compiler/lib/src/kernel/types.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698