mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 18:40:31 +01:00
fixes for 64 bit constructor (and some ifdef) // only fpc 3.0 and up
git-svn-id: trunk@56220 -
This commit is contained in:
parent
cb655096b6
commit
6c4ebea341
@ -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]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user