Write the function start address to the progs file.

Oops:P
This commit is contained in:
Bill Currie 2011-03-04 18:45:43 +09:00
parent 2211a807d4
commit 72fae608e5
1 changed files with 1 additions and 0 deletions

View File

@ -751,6 +751,7 @@ qfo_to_progs (qfo_t *qfo, int *size)
for (i = 0; i < qfo->num_funcs; i++) {
dfunction_t *df = functions + i;
qfo_func_t *qf = qfo->funcs + i;
df->first_statement = qf->code;
df->parm_start = locals_start;
df->locals = qfo->spaces[qf->locals_space].data_size;
if (!options.code.local_merging)