Index: pkg/compiler/lib/src/ssa/builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
index 1ebe6f56ffe84618ebd677ed6a59cf264d2c3f23..91be5bd500ed0c979120958799a747e22c718374 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -625,7 +625,7 @@ class SsaAstGraphBuilder extends ast.Visitor |
bool isFunctionCalledOnce(MethodElement element) { |
// ConstructorBodyElements are not in the type inference graph. |
- if (element is ConstructorBodyElement) return false; |
+ if (element is ConstructorBodyEntity) return false; |
return globalInferenceResults.resultOfMember(element).isCalledOnce; |
} |