mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-13 05:10:07 +08:00
Call pop_local_syms before gfunc_epilog
This commit is contained in:
parent
65f2fe390c
commit
0d7c40b948
4
tccgen.c
4
tccgen.c
@ -7655,10 +7655,10 @@ static void gen_function(Sym *sym, AttributeDef *ad)
|
|||||||
block(0);
|
block(0);
|
||||||
gsym(rsym);
|
gsym(rsym);
|
||||||
nocode_wanted = 0;
|
nocode_wanted = 0;
|
||||||
gfunc_epilog();
|
|
||||||
cur_text_section->data_offset = ind;
|
|
||||||
/* reset local stack */
|
/* reset local stack */
|
||||||
pop_local_syms(&local_stack, NULL, 0);
|
pop_local_syms(&local_stack, NULL, 0);
|
||||||
|
gfunc_epilog();
|
||||||
|
cur_text_section->data_offset = ind;
|
||||||
local_scope = 0;
|
local_scope = 0;
|
||||||
label_pop(&global_label_stack, NULL, 0);
|
label_pop(&global_label_stack, NULL, 0);
|
||||||
sym_pop(&all_cleanups, NULL, 0);
|
sym_pop(&all_cleanups, NULL, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user