mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 20:42:39 +02:00
PascalScript: reverted some derivations from the git version
git-svn-id: trunk@56160 -
This commit is contained in:
parent
c1a20347a3
commit
c3ae0f3967
@ -594,7 +594,7 @@ begin
|
||||
{$IFNDEF PS_NOWIDESTRING}btWideChar, {$ENDIF}btu16, bts16: tbtu16(res.dta^) := RealCall_Register(Address, EAX, EDX, ECX, @Stack[Length(Stack)-3], Length(Stack) div 4, 2, nil);
|
||||
btClass :
|
||||
begin
|
||||
{$IF DEFINED (fpc) and (fpc_version <= 3)}
|
||||
{$IF DEFINED (fpc) and (fpc_version < 3)}
|
||||
if IsConstructor or IsVirtualCons then
|
||||
tbtu32(res.dta^) := RealCall_Register(Address, EDX, EAX, ECX,
|
||||
@Stack[Length(Stack) - 3], Length(Stack) div 4, 4, nil)
|
||||
|
@ -266,7 +266,7 @@ end;
|
||||
|
||||
procedure TCompilerTestSimple.CreateObject;
|
||||
begin
|
||||
CompileRun('var r: TObject; begin r := TObject.Create; r.Destroy; end.');
|
||||
CompileRun('var r: TObject; begin r := TObject.Create; r.Free; end.');
|
||||
end;
|
||||
|
||||
procedure TCompilerTestSimple.CharTest2;
|
||||
|
Loading…
Reference in New Issue
Block a user