Index: pkg/compiler/lib/src/ssa/codegen.dart |
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart |
index 8dfdcbfb78724f4cdaed77cf252c7e83c195594b..a3f2be1fca03edc26a622b579603a36a614f7db9 100644 |
--- a/pkg/compiler/lib/src/ssa/codegen.dart |
+++ b/pkg/compiler/lib/src/ssa/codegen.dart |
@@ -29,7 +29,7 @@ import '../native/native.dart' as native; |
import '../types/types.dart'; |
import '../universe/call_structure.dart' show CallStructure; |
import '../universe/selector.dart' show Selector; |
-import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; |
+import '../universe/use.dart' show ConstantUse, DynamicUse, StaticUse, TypeUse; |
import '../util/util.dart'; |
import '../world.dart' show ClosedWorld; |
import 'codegen_helpers.dart'; |
@@ -2097,7 +2097,7 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
assert(isGenerateAtUseSite(node)); |
generateConstant(node.constant, node.sourceInformation); |
- registry.registerCompileTimeConstant(node.constant); |
+ registry.registerConstantUse(new ConstantUse.literal(node.constant)); |
} |
visitNot(HNot node) { |