fixes for 64 bit constructor (and some ifdef) // only fpc 3.0 and up

git-svn-id: trunk@56220 -
This commit is contained in:
martin 2017-10-27 23:02:10 +00:00
parent cb655096b6
commit 6c4ebea341

View File

@ -661,7 +661,7 @@ begin
FillChar(Registers, Sizeof(REgisters), 0);
_RAX := 0;
RegUsage := 0;
{$IFDEF FPC} // FIX FOR FPC constructor calls
{$IF DEFINED (fpc) and (fpc_version >= 3)} // FIX FOR FPC constructor calls
if IsConstructor then begin
if not GetPtr(rp(Params[0])) then exit; // this goes first
DisposePPSVariantIFC(Params[0]);