Index: pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
diff --git a/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart b/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
index ee4272afc8a62d8d3c892caa820a0c136fb88b23..b7e78716bc8f9734a5893000ec9298bdb118228f 100644 |
--- a/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
+++ b/pkg/compiler/lib/src/js_backend/lookup_map_analysis.dart |
@@ -155,7 +155,7 @@ class LookupMapAnalysis { |
// At this point, the lookupMapVersionVariable should be resolved and it's |
// constant value should be available. |
StringConstantValue value = |
- backend.constants.getConstantValueForVariable(lookupMapVersionVariable); |
+ backend.constants.getConstantValue(lookupMapVersionVariable.constant); |
if (value == null) { |
reporter.reportInfo(lookupMapVersionVariable, |
MessageKind.UNRECOGNIZED_VERSION_OF_LOOKUP_MAP); |