[VarData] Don't clear memory we are going to fill in completely

This commit is contained in:
Behdad Esfahbod 2022-12-03 15:56:43 -07:00
parent 0e13b4abbc
commit e28e2dad03
1 changed files with 1 additions and 1 deletions

View File

@ -2549,7 +2549,7 @@ struct VarData
regionIndices.len = new_ri_count;
if (unlikely (!c->extend (this))) return_trace (false);
if (unlikely (!c->extend_size (this, get_size (), false))) return_trace (false);
for (r = 0; r < new_ri_count; r++)
regionIndices[r] = region_map[src->regionIndices[ri_map[r]]];