mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
Don't allocate space for locals for builtin functions.
While the symtab is needed for debug info, there is no need for any actual data to be allocated for a builtin function's locals.
This commit is contained in:
parent
f3e2e239b8
commit
2317811f2b
1 changed files with 1 additions and 0 deletions
|
@ -620,6 +620,7 @@ build_builtin_function (symbol_t *sym, expr_t *bi_val, int far)
|
||||||
|
|
||||||
// for debug info
|
// for debug info
|
||||||
build_scope (sym, current_symtab);
|
build_scope (sym, current_symtab);
|
||||||
|
sym->s.func->symtab->space->size = 0;
|
||||||
return sym->s.func;
|
return sym->s.func;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue