mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
Report the correct function name for the largest locals.
I must have been tired when I adapted that code. * taniwha dons brown paper bag
This commit is contained in:
parent
95a06c20b2
commit
954e03c3f7
1 changed files with 3 additions and 2 deletions
|
@ -794,9 +794,10 @@ qfo_to_progs (qfo_t *qfo, int *size)
|
|||
locals_start = qfo->spaces[qfo_near_data_space].data_size;
|
||||
for (i = qfo_num_spaces; i < qfo->num_spaces; i++) {
|
||||
if (options.code.local_merging) {
|
||||
if (locals_size < qfo->spaces[i].data_size)
|
||||
if (locals_size < qfo->spaces[i].data_size) {
|
||||
locals_size = qfo->spaces[i].data_size;
|
||||
big_locals = i;
|
||||
big_locals = i;
|
||||
}
|
||||
} else {
|
||||
locals_size += qfo->spaces[i].data_size;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue