Index: pkg/compiler/lib/src/js_backend/codegen/glue.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart |
index 096573f4fa726068b183da1513168634b1d588ff..1650174fb878f600b485059ec96161bcff421f58 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart |
@@ -269,7 +269,7 @@ class Glue { |
} |
ConstantValue getDefaultParameterValue(ParameterElement elem) { |
- return _backend.constants.getConstantValueForVariable(elem); |
+ return _backend.constants.getConstantValue(elem.constant); |
} |
TypeMask extendMaskIfReachesAll(Selector selector, TypeMask mask) { |