mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:29:19 +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;
|
end;
|
||||||
paraloc^.register:=hlcg.getregisterfordef(list,paraloc^.def);
|
paraloc^.register:=hlcg.getregisterfordef(list,paraloc^.def);
|
||||||
paraloc^.llvmvalueloc:=true;
|
paraloc^.llvmvalueloc:=true;
|
||||||
|
{ paraloc^.reference overlaid this field, so zero it now
|
||||||
|
that we turned it into a register location }
|
||||||
|
paraloc^.shiftval:=0;
|
||||||
end;
|
end;
|
||||||
LOC_REGISTER,
|
LOC_REGISTER,
|
||||||
LOC_FPUREGISTER,
|
LOC_FPUREGISTER,
|
||||||
|
Loading…
Reference in New Issue
Block a user