Revert the fix for #2461 in search of a more general solution

This commit is contained in:
Alex Volkov
2026-03-25 19:00:57 -04:00
parent 80ff9d3f4d
commit 62451557f9

View File

@@ -1197,10 +1197,8 @@ void AddOpHigh (StackOpData* D, opc_t OPC, LoadInfo* LI, int KeepResult)
InsertEntry (D, X, D->IP++); InsertEntry (D, X, D->IP++);
} }
/* If this is the right hand side, we can remove the load. */ /* In both cases, we can remove the load */
if (LI == &D->Rhs) { LI->X.Flags |= LI_REMOVE;
LI->X.Flags |= LI_REMOVE;
}
} else { } else {