mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 15:30:50 +00:00
[qfcc] Give finish_function the finishing blow
It's been twitching for over ten years, time to put it out of its misery.
This commit is contained in:
parent
17dfd1492f
commit
b8b47aaf54
2 changed files with 0 additions and 8 deletions
|
@ -146,7 +146,6 @@ function_t *build_code_function (struct symbol_s *fsym,
|
|||
function_t *build_builtin_function (struct symbol_s *sym,
|
||||
struct expr_s *bi_val, int far,
|
||||
enum storage_class_e storage);
|
||||
void finish_function (function_t *f);
|
||||
void emit_function (function_t *f, struct expr_s *e);
|
||||
int function_parms (function_t *f, byte *parm_size);
|
||||
void clear_functions (void);
|
||||
|
|
|
@ -646,7 +646,6 @@ build_code_function (symbol_t *fsym, expr_t *state_expr, expr_t *statements)
|
|||
statements = state_expr;
|
||||
}
|
||||
emit_function (fsym->s.func, statements);
|
||||
finish_function (fsym->s.func);
|
||||
return fsym->s.func;
|
||||
}
|
||||
|
||||
|
@ -692,7 +691,6 @@ build_builtin_function (symbol_t *sym, expr_t *bi_val, int far,
|
|||
sym->s.func->builtin = bi;
|
||||
reloc_def_func (sym->s.func, sym->s.func->def);
|
||||
build_function (sym);
|
||||
finish_function (sym->s.func);
|
||||
|
||||
// for debug info
|
||||
build_scope (sym, current_symtab);
|
||||
|
@ -700,11 +698,6 @@ build_builtin_function (symbol_t *sym, expr_t *bi_val, int far,
|
|||
return sym->s.func;
|
||||
}
|
||||
|
||||
void
|
||||
finish_function (function_t *f)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
emit_function (function_t *f, expr_t *e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue