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 73e3d696369505f1343498af8cea456eec76dc2a..549849284d4b68b42e17b010709dff6a53a9e70f 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) { |