Index: runtime/vm/clustered_snapshot.cc |
diff --git a/runtime/vm/clustered_snapshot.cc b/runtime/vm/clustered_snapshot.cc |
index bd00047ffdd5bd3fa403a0383306bd3dfb5a6c6e..56f766f12be9fac832267c510f8fd1b84074f7a3 100644 |
--- a/runtime/vm/clustered_snapshot.cc |
+++ b/runtime/vm/clustered_snapshot.cc |
@@ -3472,7 +3472,7 @@ class MintDeserializationCluster : public DeserializationCluster { |
} |
} |
const Array& constants_array = |
- Array::Handle(zone, Array::MakeArray(new_constants)); |
+ Array::Handle(zone, Array::MakeFixedLength(new_constants)); |
const Class& mint_cls = |
Class::Handle(zone, Isolate::Current()->object_store()->mint_class()); |
mint_cls.set_constants(constants_array); |