bug fix in optimizing coverage table format (#1942)
We are comparing number of shorts, NOT number of bytes.
This commit is contained in:
parent
38f95baf6b
commit
0313ef86e3
|
@ -1062,7 +1062,7 @@ struct Coverage
|
||||||
last = g;
|
last = g;
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
u.format = count * 2 < num_ranges * 3 ? 1 : 2;
|
u.format = count <= num_ranges * 3 ? 1 : 2;
|
||||||
|
|
||||||
switch (u.format)
|
switch (u.format)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue