mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 15:29:14 +02:00
* also set aktcallnode during tcallnode.pass_1, so that the callparanode
pass_1 code can make use of it git-svn-id: trunk@29818 -
This commit is contained in:
parent
863e81315e
commit
aae879d28a
@ -3600,9 +3600,14 @@ implementation
|
|||||||
|
|
||||||
var
|
var
|
||||||
para: tcallparanode;
|
para: tcallparanode;
|
||||||
|
oldcallnode: tcallnode;
|
||||||
begin
|
begin
|
||||||
result:=nil;
|
result:=nil;
|
||||||
|
|
||||||
|
oldcallnode:=aktcallnode;
|
||||||
|
aktcallnode:=self;
|
||||||
|
|
||||||
|
try
|
||||||
{ as pass_1 is never called on the methodpointer node, we must check
|
{ as pass_1 is never called on the methodpointer node, we must check
|
||||||
here that it's not a helper type }
|
here that it's not a helper type }
|
||||||
if assigned(methodpointer) and
|
if assigned(methodpointer) and
|
||||||
@ -3717,6 +3722,9 @@ implementation
|
|||||||
mark_unregable_parameters;
|
mark_unregable_parameters;
|
||||||
result:=pass1_normal;
|
result:=pass1_normal;
|
||||||
end;
|
end;
|
||||||
|
finally
|
||||||
|
aktcallnode:=oldcallnode;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user