mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 16:09:33 +02:00
* first part to fix #39603
This commit is contained in:
parent
08228d7fb3
commit
6f749cf43d
@ -834,11 +834,17 @@ implementation
|
||||
recorddef,
|
||||
setdef:
|
||||
result:=R_INTREGISTER;
|
||||
procvardef:
|
||||
{ getaddressregister cannot handle if multiple registers
|
||||
are required for a single element }
|
||||
if is_methodpointer(def) then
|
||||
result:=R_INTREGISTER
|
||||
else
|
||||
result:=R_ADDRESSREGISTER;
|
||||
stringdef,
|
||||
pointerdef,
|
||||
classrefdef,
|
||||
objectdef,
|
||||
procvardef,
|
||||
procdef,
|
||||
formaldef:
|
||||
result:=R_ADDRESSREGISTER;
|
||||
|
Loading…
Reference in New Issue
Block a user