Fix typo in code added by b018bac9c8
This commit is contained in:
2
tccgen.c
2
tccgen.c
@ -5771,7 +5771,7 @@ static void gen_function(Sym *sym)
|
|||||||
sym_push2(&local_stack, SYM_FIELD, 0, 0);
|
sym_push2(&local_stack, SYM_FIELD, 0, 0);
|
||||||
gfunc_prolog(&sym->type);
|
gfunc_prolog(&sym->type);
|
||||||
#ifdef CONFIG_TCC_BCHECK
|
#ifdef CONFIG_TCC_BCHECK
|
||||||
if (tcc_state->do_bound_check
|
if (tcc_state->do_bounds_check
|
||||||
&& !strcmp(get_tok_str(sym->v, NULL), "main")) {
|
&& !strcmp(get_tok_str(sym->v, NULL), "main")) {
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user