mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 07:19:27 +02:00
* improved code generation by reducing the usage of unneeded temps due to incorrect
node processing, patch by Sergei Gorelkin git-svn-id: trunk@13756 -
This commit is contained in:
parent
12fcb19bf4
commit
39c1c4c199
@ -83,10 +83,10 @@ implementation
|
||||
begin
|
||||
node_changed:=true;
|
||||
p.free;
|
||||
{ run typecheckpass }
|
||||
typecheckpass(hp);
|
||||
{ switch to new node }
|
||||
p:=hp;
|
||||
{ run typecheckpass }
|
||||
typecheckpass(p);
|
||||
end;
|
||||
current_settings.localswitches:=oldlocalswitches;
|
||||
current_filepos:=oldpos;
|
||||
@ -164,10 +164,10 @@ implementation
|
||||
if assigned(hp) then
|
||||
begin
|
||||
p.free;
|
||||
{ run typecheckpass }
|
||||
typecheckpass(hp);
|
||||
{ switch to new node }
|
||||
p:=hp;
|
||||
{ run typecheckpass }
|
||||
typecheckpass(p);
|
||||
end;
|
||||
if codegenerror then
|
||||
begin
|
||||
@ -186,10 +186,10 @@ implementation
|
||||
if assigned(hp) then
|
||||
begin
|
||||
p.free;
|
||||
{ run firstpass }
|
||||
firstpass(hp);
|
||||
{ switch to new node }
|
||||
p:=hp;
|
||||
p := hp;
|
||||
{ run firstpass }
|
||||
firstpass(p);
|
||||
end
|
||||
else
|
||||
begin
|
||||
@ -199,8 +199,8 @@ implementation
|
||||
if assigned(hp) then
|
||||
begin
|
||||
p.free;
|
||||
firstpass(hp);
|
||||
p:=hp;
|
||||
p := hp;
|
||||
firstpass(p);
|
||||
end;
|
||||
end;
|
||||
if codegenerror then
|
||||
|
Loading…
Reference in New Issue
Block a user