[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:
Bill Currie 2022-01-20 22:27:10 +09:00
parent 17dfd1492f
commit b8b47aaf54
2 changed files with 0 additions and 8 deletions

View file

@ -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);

View file

@ -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)
{