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 e0e89b3f8e258297020fa018e257e3b3add6e7c9..621fd6d3241be32b3b8ce6e8fa5ce8b2aebac74f 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -3873,12 +3873,12 @@ class SsaBuilder extends ast.Visitor |
@override |
void bulkHandleNew(ast.NewExpression node, [_]) { |
Element element = elements[node.send]; |
- final bool isSymbolConstructor = |
- element == commonElements.symbolConstructor; |
if (!Elements.isMalformed(element)) { |
ConstructorElement function = element; |
element = function.effectiveTarget; |
} |
+ final bool isSymbolConstructor = |
+ element == commonElements.symbolConstructorTarget; |
if (Elements.isError(element)) { |
ErroneousElement error = element; |
if (error.messageKind == MessageKind.CANNOT_FIND_CONSTRUCTOR || |