Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index 96d4cb875cabda6af08bb254dbc734aafa60b77e..c9d67ebb64bd895a81744f230f2f161b2aacc1da 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -1763,7 +1763,7 @@ static intptr_t GetResultCidOfConstructor(ConstructorCallNode* node) { |
} |
if (node->constructor().IsFactory()) { |
- if ((function_class.Name() == Symbols::ListImplementation()) && |
+ if ((function_class.Name() == Symbols::List()) && |
(function.name() == Symbols::ListFactory())) { |
// If there are no arguments then the result is guaranteed to be a |
// GrowableObjectArray. However if there is an argument the result |