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

Unified Diff: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart

Issue 2960633002: Split KernelToElementMap into sub-interfaces (Closed)
Patch Set: Updated cf. comments Created 3 years, 6 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/element_map_impl.dart ('k') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
diff --git a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
index 6e8bcd296de4d642905ce877fb610a42f13f11b2..0e70e9b8caa9f5f75728715636e2fb212c794054 100644
--- a/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
+++ b/pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart
@@ -40,7 +40,7 @@ import 'kernel_strategy.dart';
/// A backend strategy based on Kernel IR nodes.
abstract class KernelBackendStrategy implements BackendStrategy {
- KernelToElementMap get elementMap;
+ KernelToElementMapForBuilding get elementMap;
GlobalLocalsMap get globalLocalsMapForTesting;
}
@@ -55,7 +55,7 @@ class KernelBackendStrategyImpl implements KernelBackendStrategy {
KernelBackendStrategyImpl(this._compiler);
- KernelToElementMap get elementMap {
+ KernelToElementMapForBuilding get elementMap {
KernelFrontEndStrategy frontendStrategy = _compiler.frontendStrategy;
return frontendStrategy.elementMap;
}
@@ -153,7 +153,7 @@ class KernelCodegenWorkItem extends CodegenWorkItem {
class KernelSsaBuilder implements SsaBuilder {
final CompilerTask task;
final Compiler _compiler;
- final KernelToElementMap _elementMap;
+ final KernelToElementMapForBuilding _elementMap;
final GlobalLocalsMap _globalLocalsMap;
KernelSsaBuilder(
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698