mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 12:50:30 +02:00
* fixed passing of int64 constants as parameters
git-svn-id: branches/i8086@23811 -
This commit is contained in:
parent
4e640511fb
commit
79f43c22e9
@ -327,14 +327,20 @@ unit cgcpu;
|
||||
begin
|
||||
if tcgsize2size[cgpara.Size] <> 4 then
|
||||
internalerror(2013031101);
|
||||
if tcgsize2size[cgpara.location^.size] <> 2 then
|
||||
internalerror(2013031101);
|
||||
if cgpara.location^.Next = nil then
|
||||
internalerror(2013031101);
|
||||
if tcgsize2size[cgpara.location^.Next^.size] <> 2 then
|
||||
internalerror(2013031101);
|
||||
if cgpara.location^.Next^.Next <> nil then
|
||||
internalerror(2013031101);
|
||||
begin
|
||||
if tcgsize2size[cgpara.location^.size] <> 4 then
|
||||
internalerror(2013031101);
|
||||
end
|
||||
else
|
||||
begin
|
||||
if tcgsize2size[cgpara.location^.size] <> 2 then
|
||||
internalerror(2013031101);
|
||||
if tcgsize2size[cgpara.location^.Next^.size] <> 2 then
|
||||
internalerror(2013031101);
|
||||
if cgpara.location^.Next^.Next <> nil then
|
||||
internalerror(2013031101);
|
||||
end;
|
||||
if cgpara.alignment <> 4 then
|
||||
internalerror(2013031101);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user