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

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

Issue 2858223004: Rename KernelElementAdapter and element_adapter.dart to IrToElementMap and ir_map.dart (Closed)
Patch Set: Updated cf. comments. Created 3 years, 7 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 12b91c4dc872c390c8bb57e9ab4672d2cc8088c1..3643b98e0c56550f6ee22ff45eca9a2df5188d3a 100644
--- a/pkg/compiler/lib/src/library_loader.dart
+++ b/pkg/compiler/lib/src/library_loader.dart
@@ -30,7 +30,7 @@ import 'elements/modelx.dart'
SyntheticImportElement;
import 'enqueue.dart' show DeferredAction;
import 'environment.dart';
-import 'kernel/element_map.dart' show KernelToElementMap;
+import 'kernel/element_map_impl.dart' show KernelToElementMapImpl;
import 'patch_parser.dart' show PatchParserTask;
import 'resolved_uri_translator.dart';
import 'script.dart';
@@ -820,7 +820,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 KernelToElementMap _elementMap;
+ final KernelToElementMapImpl _elementMap;
List<LibraryEntity> _allLoadedLibraries;
@@ -864,7 +864,7 @@ class DillLibraryLoaderTask extends CompilerTask implements LibraryLoaderTask {
rootLibrary, _allLoadedLibraries, _elementMap);
}
- KernelToElementMap get elementMap => _elementMap;
+ KernelToElementMapImpl get elementMap => _elementMap;
void reset({bool reuseLibrary(LibraryElement library)}) {
throw new UnimplementedError('DillLibraryLoaderTask.reset');
@@ -1592,7 +1592,7 @@ class _LoadedLibraries implements LoadedLibraries {
class _LoadedLibrariesAdapter implements LoadedLibraries {
final LibraryEntity rootLibrary;
final List<LibraryEntity> _newLibraries;
- final KernelToElementMap worldBuilder;
+ final KernelToElementMapImpl 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