mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* go through cg to generate jumps, so the right jump is generated always
git-svn-id: trunk@44836 -
This commit is contained in:
parent
099faf2d2b
commit
a49a776307
@ -87,7 +87,7 @@ interface
|
||||
end;
|
||||
|
||||
cg.a_cmp_reg_reg_label(current_asmdata.CurrAsmList,OS_INT,cond,left.location.register,right.location.register,location.truelabel);
|
||||
current_asmdata.CurrAsmList.concat(taicpu.op_sym(A_J,location.falselabel));
|
||||
cg.a_jmp_always(current_asmdata.CurrAsmList,location.falselabel);
|
||||
end;
|
||||
|
||||
|
||||
@ -139,7 +139,7 @@ interface
|
||||
else
|
||||
cg.a_cmp_reg_reg_label(current_asmdata.CurrAsmList,OS_INT,cond,right.location.register,left.location.register,location.truelabel);
|
||||
end;
|
||||
current_asmdata.CurrAsmList.concat(taicpu.op_sym(A_J,location.falselabel));
|
||||
cg.a_jmp_always(current_asmdata.CurrAsmList,location.falselabel);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user