Skip to content

Commit 0312e82

Browse files
authored
it is IFL1 not IFL2 (#21010)
1 parent 7c95446 commit 0312e82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dmd/backend/arm/cod1.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ int isscaledindex(tym_t ty, elem* e)
292292
@trusted
293293
void logexp(ref CodeBuilder cdb, elem* e, uint jcond, FL fltarg, code* targ)
294294
{
295-
//printf("logexp(e = %p, jcond = %d)\n", e, jcond); elem_print(e);
295+
//printf("logexp(e: %p jcond: %d fltarg: %d targ: %p)\n", e, jcond, fltarg == FL.code, targ); elem_print(e);
296296
if (tybasic(e.Ety) == TYnoreturn)
297297
{
298298
con_t regconsave = cgstate.regcon;

compiler/src/dmd/backend/arm/cod3.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ void jmpaddr(code* c)
15271527
{
15281528
const op = c.Iop;
15291529
//printf("%08X ", c.Iop); disassemble(c.Iop);
1530-
if (isBranch(op) && c.IFL2 == FL.code) // or CALL?
1530+
if (isBranch(op) && c.IFL1 == FL.code) // or CALL?
15311531
{
15321532
ci = code_next(c);
15331533
ctarg = c.IEV1.Vcode; /* target code */

0 commit comments

Comments
 (0)