mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* only check the shiftval in llvmbyvalparaloc() if it's a register parameter
location (it's invalid for other locations) git-svn-id: trunk@32600 -
This commit is contained in:
parent
99361994b7
commit
477e087857
@ -263,7 +263,8 @@ implementation
|
||||
result:=
|
||||
((paraloc^.loc=LOC_REFERENCE) and
|
||||
llvmaggregatetype(paraloc^.def)) or
|
||||
(paraloc^.shiftval<>0)
|
||||
((paraloc^.loc in [LOC_REGISTER,LOC_CREGISTER]) and
|
||||
(paraloc^.shiftval<>0))
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user