Minor tweak

original commit: d2b5ba5d5c45660e63b32fb501b6684d3d11036b
This commit is contained in:
R. Kent Dybvig 2018-12-05 15:30:40 -08:00 committed by GitHub
parent abf4ae18bb
commit b7cca1a835

View File

@ -263,7 +263,6 @@ iptr S_find_segments(s, g, n) ISPC s; IGEN g; iptr n; {
chunk->nused_segs += 1;
initialize_seginfo(si, s, g);
si->sorted = 0;
si->next = S_G.occupied_segments[s][g];
S_G.occupied_segments[s][g] = si;
S_G.number_of_empty_segments -= 1;
@ -302,7 +301,6 @@ iptr S_find_segments(s, g, n) ISPC s; IGEN g; iptr n; {
S_G.occupied_segments[s][g] = si;
for (j = n, nextsi = si; j > 0; j -= 1, nextsi = nextsi->next) {
initialize_seginfo(nextsi, s, g);
nextsi->sorted = 0;
}
S_G.number_of_empty_segments -= n;
return si->number;