mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 15:10:40 +02:00
* set expectloc correctly for small CPUs for implicit pointer object types in the first pass of the add nodes
git-svn-id: branches/z80@45041 -
This commit is contained in:
parent
4ae5b81bff
commit
2ee28809d8
@ -4162,7 +4162,10 @@ implementation
|
|||||||
|
|
||||||
else if is_implicit_pointer_object_type(ld) then
|
else if is_implicit_pointer_object_type(ld) then
|
||||||
begin
|
begin
|
||||||
expectloc:=LOC_FLAGS;
|
if ld.size>sizeof(aint) then
|
||||||
|
expectloc:=LOC_JUMP
|
||||||
|
else
|
||||||
|
expectloc:=LOC_FLAGS;
|
||||||
end
|
end
|
||||||
|
|
||||||
else if (ld.typ=classrefdef) then
|
else if (ld.typ=classrefdef) then
|
||||||
|
Loading…
Reference in New Issue
Block a user