mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 15:45:57 +02:00
* sizes2load handles OS_NO properly if one size is given
git-svn-id: trunk@4586 -
This commit is contained in:
parent
819dec1411
commit
b3ae0c51a4
@ -270,6 +270,11 @@ unit cgx86;
|
||||
procedure tcgx86.sizes2load(s1,s2 : tcgsize; var op: tasmop; var s3: topsize);
|
||||
|
||||
begin
|
||||
{ ensure to have always valid sizes }
|
||||
if s1=OS_NO then
|
||||
s1:=s2;
|
||||
if s2=OS_NO then
|
||||
s2:=s1;
|
||||
case s2 of
|
||||
OS_8,OS_S8 :
|
||||
if S1 in [OS_8,OS_S8] then
|
||||
|
Loading…
Reference in New Issue
Block a user