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 fb979aaeab98cbd9be949c15c5a9159847f2f8dd..a5e0e877b010d8d167b2244f076c86b2c02e3ee2 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -1754,8 +1754,8 @@ class SsaBuilder extends ast.Visitor |
if (constructor.isSynthesized) return null; |
ast.FunctionExpression node = constructor.node; |
// If we know the body doesn't have any code, we don't generate it. |
- if (!node.hasBody()) return null; |
- if (node.hasEmptyBody()) return null; |
+ if (!node.hasBody) return null; |
+ if (node.hasEmptyBody) return null; |
ClassElement classElement = constructor.enclosingClass; |
ConstructorBodyElement bodyElement; |
classElement.forEachBackendMember((Element backendMember) { |