gen: fix bug with cmp_wordsize
This commit is contained in:
parent
3a9213cbb2
commit
ed6d68bbeb
2
gen.c
2
gen.c
|
@ -428,7 +428,7 @@ void gen_code(Gen*gen,PNode*pn,FILE*file)
|
|||
if(pn->tokens.size>1)
|
||||
{
|
||||
gen_eval(gen,pn,file);
|
||||
fprintf(file,"\tcmpl $0,%%%s\n",gen->ld.acc_wordsize);
|
||||
fprintf(file,"\t%s $0,%%%s\n",gen->ld.cmp_wordsize,gen->ld.acc_wordsize);
|
||||
}
|
||||
|
||||
fprintf(file,"\tjz .L%02lu\n",pwhile_label2);
|
||||
|
|
Loading…
Reference in New Issue
Block a user