it is IFL1 not IFL2 (#21010)

This commit is contained in:
Walter Bright 2025-03-16 23:43:33 -07:00 committed by GitHub
parent 7c95446800
commit 0312e82726
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -292,7 +292,7 @@ int isscaledindex(tym_t ty, elem* e)
@trusted
void logexp(ref CodeBuilder cdb, elem* e, uint jcond, FL fltarg, code* targ)
{
//printf("logexp(e = %p, jcond = %d)\n", e, jcond); elem_print(e);
//printf("logexp(e: %p jcond: %d fltarg: %d targ: %p)\n", e, jcond, fltarg == FL.code, targ); elem_print(e);
if (tybasic(e.Ety) == TYnoreturn)
{
con_t regconsave = cgstate.regcon;

View file

@ -1527,7 +1527,7 @@ void jmpaddr(code* c)
{
const op = c.Iop;
//printf("%08X ", c.Iop); disassemble(c.Iop);
if (isBranch(op) && c.IFL2 == FL.code) // or CALL?
if (isBranch(op) && c.IFL1 == FL.code) // or CALL?
{
ci = code_next(c);
ctarg = c.IEV1.Vcode; /* target code */