mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 13:09:32 +02:00
* fixed potentially wrong operation size in tgppccasenode.genlinearlist()
(was in practice currently probably always correct though) git-svn-id: trunk@16737 -
This commit is contained in:
parent
faeb80b55c
commit
a40fe9c078
@ -184,7 +184,7 @@ implementation
|
||||
if t^._low=t^._high then
|
||||
begin
|
||||
if t^._low-last=0 then
|
||||
cg.a_cmp_const_reg_label(current_asmdata.CurrAsmList, opsize, OC_EQ,0,hregister,blocklabel(t^.blockid))
|
||||
cg.a_cmp_const_reg_label(current_asmdata.CurrAsmList,OS_INT,OC_EQ,0,hregister,blocklabel(t^.blockid))
|
||||
else
|
||||
gensub(longint(int64(t^._low-last)));
|
||||
tcgppc(cg).a_jmp_cond(current_asmdata.CurrAsmList,OC_EQ,blocklabel(t^.blockid));
|
||||
|
Loading…
Reference in New Issue
Block a user