mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* set shiftval to 0 if we convert a reference to a register paraloc,
as the reference overlaid the shiftval field and hence it could have any value git-svn-id: trunk@34303 -
This commit is contained in:
parent
7ebbb744e9
commit
8760a6fbf8
@ -123,6 +123,9 @@ unit llvmpara;
|
||||
end;
|
||||
paraloc^.register:=hlcg.getregisterfordef(list,paraloc^.def);
|
||||
paraloc^.llvmvalueloc:=true;
|
||||
{ paraloc^.reference overlaid this field, so zero it now
|
||||
that we turned it into a register location }
|
||||
paraloc^.shiftval:=0;
|
||||
end;
|
||||
LOC_REGISTER,
|
||||
LOC_FPUREGISTER,
|
||||
|
Loading…
Reference in New Issue
Block a user