* fixed passing of int64 constants as parameters

git-svn-id: branches/i8086@23811 -
This commit is contained in:
nickysn 2013-03-12 18:04:38 +00:00
parent 4e640511fb
commit 79f43c22e9

View File

@ -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);