summaryrefslogtreecommitdiff
path: root/compiler/nmem.pas
diff options
context:
space:
mode:
authoryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-06-20 18:34:26 +0000
committeryury <yury@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-06-20 18:34:26 +0000
commite12c2a1189dbac0517f98cdbcff4064a35a88dc9 (patch)
treeed8362cf72c618a5d17fb685df836b86fb84c73c /compiler/nmem.pas
parent814cbdef32fd629af6f0007acb5df5ddc1af89c1 (diff)
downloadfpc-e12c2a1189dbac0517f98cdbcff4064a35a88dc9.tar.gz
* Improved the parentfp optimization to properly handle cases when a nested routine calls other nested routines.
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45665 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/nmem.pas')
-rw-r--r--compiler/nmem.pas2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/nmem.pas b/compiler/nmem.pas
index ebaa11ca1a..d093c3e216 100644
--- a/compiler/nmem.pas
+++ b/compiler/nmem.pas
@@ -316,8 +316,6 @@ implementation
internalerror(200309284);
parentpd:=pd;
kind:=fpkind;
- if current_procinfo.procdef.parast.symtablelevel>pd.parast.symtablelevel then
- current_procinfo.set_needs_parentfp(pd.parast.symtablelevel);
end;