Index: runtime/vm/flow_graph_type_propagator.cc |
diff --git a/runtime/vm/flow_graph_type_propagator.cc b/runtime/vm/flow_graph_type_propagator.cc |
index 35025f1eed9ae6ba322701adc5044ef9d79974ca..16627b3bceb4501f83ba0defe8fe07654396a67d 100644 |
--- a/runtime/vm/flow_graph_type_propagator.cc |
+++ b/runtime/vm/flow_graph_type_propagator.cc |
@@ -880,7 +880,7 @@ CompileType ConstantInstr::ComputeType() const { |
intptr_t cid = value().GetClassId(); |
- if (value().IsInstance()) { |
+ if ((cid != kTypeArgumentsCid) && value().IsInstance()) { |
// Allocate in old-space since this may be invoked from the |
// background compiler. |
return CompileType::Create( |