* passing interfaces as parameters fixed

This commit is contained in:
florian 2000-11-17 10:30:24 +00:00
parent 61c74729a6
commit 881fe6d416

View File

@ -977,15 +977,15 @@ implementation
var var
pushedregs : tpushed; pushedregs : tpushed;
r : treference;
begin begin
pushusedregisters(pushedregs,$ff); pushusedregisters(pushedregs,$ff);
emitpushreferenceaddr(ref); emit_ref(A_PUSH,S_L,newreference(ref));
if is_interfacecom(t) then if is_interfacecom(t) then
begin emitcall('FPC_INTF_INCR_REF')
emitcall('FPC_INTF_INCR_REF'); else
end internalerror(1859);
else internalerror(1859);
popusedregisters(pushedregs); popusedregisters(pushedregs);
end; end;
@ -2936,7 +2936,10 @@ implementation
end. end.
{ {
$Log$ $Log$
Revision 1.10 2000-11-07 23:40:48 florian Revision 1.11 2000-11-17 10:30:24 florian
* passing interfaces as parameters fixed
Revision 1.10 2000/11/07 23:40:48 florian
+ AfterConstruction and BeforeDestruction impemented + AfterConstruction and BeforeDestruction impemented
Revision 1.9 2000/11/06 23:49:20 florian Revision 1.9 2000/11/06 23:49:20 florian