summaryrefslogtreecommitdiff
path: root/compiler/fmodule.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-01-21 23:28:34 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2015-01-21 23:28:34 +0000
commit1903b037de2fb3e75826406b46f055acb70963fa (patch)
tree604cd8b790fe14e5fbe441d4cd647c80d2a36a9a /compiler/fmodule.pas
parentad1141d52f8353457053b925cd674fe1d5c4eafc (diff)
parent953d907e4d6c3a5c2f8aaee6e5e4f73c55ce5985 (diff)
downloadfpc-blocks.tar.gz
* synchronised with trunk till r29513blocks
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/blocks@29516 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/fmodule.pas')
-rw-r--r--compiler/fmodule.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/fmodule.pas b/compiler/fmodule.pas
index 2404f478ed..1146f3924d 100644
--- a/compiler/fmodule.pas
+++ b/compiler/fmodule.pas
@@ -44,7 +44,7 @@ interface
uses
cutils,cclasses,cfileutl,
globtype,finput,ogbase,
- symbase,symsym,
+ symbase,symconst,symsym,symcpu,
wpobase,
aasmbase,aasmtai,aasmdata;
@@ -142,7 +142,7 @@ interface
checkforwarddefs,
deflist,
symlist : TFPObjectList;
- ptrdefs : THashSet; { list of pointerdefs created in this module so we can reuse them (not saved/restored) }
+ ptrdefs : tPtrDefHashSet; { list of pointerdefs created in this module so we can reuse them (not saved/restored) }
arraydefs : THashSet; { list of single-element-arraydefs created in this module so we can reuse them (not saved/restored) }
ansistrdef : tobject; { an ansistring def redefined for the current module }
wpoinfo : tunitwpoinfobase; { whole program optimization-related information that is generated during the current run for this unit }
@@ -567,7 +567,7 @@ implementation
derefdataintflen:=0;
deflist:=TFPObjectList.Create(false);
symlist:=TFPObjectList.Create(false);
- ptrdefs:=THashSet.Create(64,true,false);
+ ptrdefs:=cPtrDefHashSet.Create;
arraydefs:=THashSet.Create(64,true,false);
ansistrdef:=nil;
wpoinfo:=nil;
@@ -744,7 +744,7 @@ implementation
symlist.free;
symlist:=TFPObjectList.Create(false);
ptrdefs.free;
- ptrdefs:=THashSet.Create(64,true,false);
+ ptrdefs:=cPtrDefHashSet.Create;
arraydefs.free;
arraydefs:=THashSet.Create(64,true,false);
wpoinfo.free;