Fix typo in code added by b018bac9c8
This commit is contained in:
parent
b018bac9c8
commit
f272407353
1 changed files with 1 additions and 1 deletions
2
tccgen.c
2
tccgen.c
|
|
@ -5771,7 +5771,7 @@ static void gen_function(Sym *sym)
|
|||
sym_push2(&local_stack, SYM_FIELD, 0, 0);
|
||||
gfunc_prolog(&sym->type);
|
||||
#ifdef CONFIG_TCC_BCHECK
|
||||
if (tcc_state->do_bound_check
|
||||
if (tcc_state->do_bounds_check
|
||||
&& !strcmp(get_tok_str(sym->v, NULL), "main")) {
|
||||
int i;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue