Index: pkg/compiler/lib/src/common/backend_api.dart |
diff --git a/pkg/compiler/lib/src/common/backend_api.dart b/pkg/compiler/lib/src/common/backend_api.dart |
index 4a0d16ccaa068753fe1cfc785f0050ded1cb43cb..258a38f1c443c73303653a75207575d1051debc8 100644 |
--- a/pkg/compiler/lib/src/common/backend_api.dart |
+++ b/pkg/compiler/lib/src/common/backend_api.dart |
@@ -30,7 +30,8 @@ import '../patch_parser.dart' |
import '../serialization/serialization.dart' |
show DeserializerPlugin, SerializerPlugin; |
import '../tree/tree.dart' show Node; |
-import '../universe/world_impact.dart' show ImpactStrategy, WorldImpact; |
+import '../universe/world_impact.dart' |
+ show ImpactStrategy, WorldImpact, WorldImpactBuilder; |
import 'codegen.dart' show CodegenWorkItem; |
import 'registry.dart' show Registry; |
import 'tasks.dart' show CompilerTask; |
@@ -116,7 +117,8 @@ abstract class Backend extends Target { |
bool enableDeferredLoadingIfSupported(Spannable node, Registry registry); |
/// Called during codegen when [constant] has been used. |
- void registerCompileTimeConstant(ConstantValue constant, Registry registry) {} |
+ void computeImpactForCompileTimeConstant(ConstantValue constant, |
+ WorldImpactBuilder impactBuilder, bool isForResolution) {} |
/// Called to notify to the backend that a class is being instantiated. |
// TODO(johnniwinther): Remove this. It's only called once for each [cls] and |