Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 7a41c634693f9330ba6f8e89a4ff3cbfd0bdc5c5..02a3cac1543c2e2da263fa06177de2af3b4a0d3f 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -132,8 +132,8 @@ class FunctionInlineCache { |
if (decision == null) { |
// These synthetic elements are not yet present when we initially compute |
// this cache from metadata annotations, so look for their parent. |
- if (element is ConstructorBodyElement) { |
- ConstructorBodyElement body = element; |
+ if (element is ConstructorBodyEntity) { |
+ ConstructorBodyEntity body = element; |
decision = _cachedDecisions[body.constructor]; |
} |
if (decision == null) { |