Skip to content

it is IFL1 not IFL2 #21010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/src/dmd/backend/arm/cod1.d
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dmd/backend/arm/cod3.d
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@
{
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?

Check warning on line 1530 in compiler/src/dmd/backend/arm/cod3.d

View check run for this annotation

Codecov / codecov/patch

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

Added line #L1530 was not covered by tests
{
ci = code_next(c);
ctarg = c.IEV1.Vcode; /* target code */
Expand Down
Loading