mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 05:39:19 +02:00
* changed var-parameter of secondpass() into a value parameter: secondpass
should never change any nodes, and this allows passing properties to secondpass git-svn-id: branches/jvmbackend@18673 -
This commit is contained in:
parent
40cf2cefa0
commit
b52dcd4a56
@ -46,7 +46,7 @@ uses
|
|||||||
|
|
||||||
{ produces the actual code }
|
{ produces the actual code }
|
||||||
function do_secondpass(var p : tnode) : boolean;
|
function do_secondpass(var p : tnode) : boolean;
|
||||||
procedure secondpass(var p : tnode);
|
procedure secondpass(p : tnode);
|
||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -168,7 +168,7 @@ implementation
|
|||||||
end;
|
end;
|
||||||
{$endif EXTDEBUG}
|
{$endif EXTDEBUG}
|
||||||
|
|
||||||
procedure secondpass(var p : tnode);
|
procedure secondpass(p : tnode);
|
||||||
var
|
var
|
||||||
oldcodegenerror : boolean;
|
oldcodegenerror : boolean;
|
||||||
oldlocalswitches : tlocalswitches;
|
oldlocalswitches : tlocalswitches;
|
||||||
|
Loading…
Reference in New Issue
Block a user