Fixed crash in Opt_a_toscmpbool caused by wrong order of condition checks.
This commit is contained in:
parent
28b1687aaf
commit
eeaa111835
1 changed files with 3 additions and 3 deletions
|
@ -1113,9 +1113,9 @@ static unsigned Opt_a_toscmpbool (StackOpData* D, const char* BoolTransformer)
|
|||
|
||||
D->IP = D->OpIndex + 1;
|
||||
|
||||
if (!D->RhsMultiChg &&
|
||||
(D->Rhs.A.LoadEntry->Flags & CEF_DONT_REMOVE) == 0 &&
|
||||
(D->Rhs.A.Flags & LI_DIRECT) != 0) {
|
||||
if (!D->RhsMultiChg &&
|
||||
(D->Rhs.A.Flags & LI_DIRECT) != 0 &&
|
||||
(D->Rhs.A.LoadEntry->Flags & CEF_DONT_REMOVE) == 0) {
|
||||
|
||||
/* cmp */
|
||||
AddOpLow (D, OP65_CMP, &D->Rhs);
|
||||
|
|
Loading…
Add table
Reference in a new issue