mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-08 11:01:41 +01:00
* cleanup some unused units from uses clauses
git-svn-id: trunk@22433 -
This commit is contained in:
parent
6f2c567e37
commit
ca5fabda6d
@ -208,7 +208,6 @@ interface
|
||||
implementation
|
||||
|
||||
uses
|
||||
SysUtils,
|
||||
verbose;
|
||||
|
||||
|
||||
|
||||
@ -33,11 +33,10 @@ interface
|
||||
|
||||
uses
|
||||
cutils,cclasses,
|
||||
globtype,globals,systems,
|
||||
cpuinfo,cpubase,
|
||||
cgbase,cgutils,
|
||||
globtype,systems,
|
||||
cgbase,
|
||||
symtype,
|
||||
aasmbase,ogbase;
|
||||
aasmbase;
|
||||
|
||||
type
|
||||
{ Type of AsmLists. The order is important for the layout of the
|
||||
|
||||
@ -829,8 +829,7 @@ implementation
|
||||
uses
|
||||
SysUtils,
|
||||
verbose,
|
||||
globals,
|
||||
fmodule;
|
||||
globals;
|
||||
|
||||
const
|
||||
pputaimarker = 254;
|
||||
|
||||
@ -29,9 +29,8 @@ unit aggas;
|
||||
interface
|
||||
|
||||
uses
|
||||
cclasses,
|
||||
globtype,globals,
|
||||
aasmbase,aasmtai,aasmdata,aasmcpu,
|
||||
aasmbase,aasmtai,aasmdata,
|
||||
assemble;
|
||||
|
||||
type
|
||||
@ -104,8 +103,7 @@ implementation
|
||||
uses
|
||||
SysUtils,
|
||||
cutils,cfileutl,systems,
|
||||
fmodule,finput,verbose,
|
||||
itcpugas,cpubase;
|
||||
fmodule,verbose,cpubase;
|
||||
|
||||
const
|
||||
line_length = 70;
|
||||
|
||||
@ -36,7 +36,7 @@ unit cgobj;
|
||||
interface
|
||||
|
||||
uses
|
||||
cclasses,globtype,constexp,
|
||||
globtype,constexp,
|
||||
cpubase,cgbase,cgutils,parabase,
|
||||
aasmbase,aasmtai,aasmdata,aasmcpu,
|
||||
symconst,symtype,symdef,rgobj
|
||||
@ -573,10 +573,9 @@ unit cgobj;
|
||||
implementation
|
||||
|
||||
uses
|
||||
globals,options,systems,
|
||||
verbose,defutil,paramgr,symsym,
|
||||
tgobj,cutils,procinfo,
|
||||
ncgrtti;
|
||||
globals,systems,
|
||||
verbose,paramgr,symsym,
|
||||
tgobj,cutils,procinfo;
|
||||
|
||||
{*****************************************************************************
|
||||
basic functionallity
|
||||
|
||||
@ -26,9 +26,8 @@ unit defutil;
|
||||
interface
|
||||
|
||||
uses
|
||||
cclasses,
|
||||
globtype,globals,constexp,node,
|
||||
symconst,symbase,symtype,symdef,
|
||||
globtype,globals,constexp,
|
||||
symconst,symtype,symdef,
|
||||
cgbase,cpubase;
|
||||
|
||||
type
|
||||
@ -286,7 +285,7 @@ interface
|
||||
implementation
|
||||
|
||||
uses
|
||||
systems,verbose;
|
||||
verbose;
|
||||
|
||||
{ returns true, if def uses FPU }
|
||||
function is_fpu(def : tdef) : boolean;
|
||||
|
||||
@ -37,7 +37,7 @@ unit hlcgobj;
|
||||
cclasses,globtype,constexp,
|
||||
cpubase,cgbase,cgutils,parabase,
|
||||
aasmbase,aasmtai,aasmdata,aasmcpu,
|
||||
symconst,symtype,symdef,rgobj,
|
||||
symconst,symtype,symdef,
|
||||
node
|
||||
;
|
||||
|
||||
@ -555,7 +555,7 @@ unit hlcgobj;
|
||||
implementation
|
||||
|
||||
uses
|
||||
globals,options,systems,
|
||||
globals,systems,
|
||||
fmodule,export,
|
||||
verbose,defutil,paramgr,
|
||||
symbase,symsym,symtable,
|
||||
|
||||
@ -181,13 +181,11 @@ interface
|
||||
implementation
|
||||
|
||||
uses
|
||||
sysutils,
|
||||
systems,constexp,globals,
|
||||
cutils,verbose,
|
||||
symtable,
|
||||
defutil,defcmp,
|
||||
nbas,ncnv,nld,nmem,ncal,nmat,ninl,nutils,ncon,
|
||||
cgbase,procinfo
|
||||
nbas,ncnv,nld,nmem,ncal,nmat,ninl,nutils,procinfo
|
||||
;
|
||||
|
||||
type
|
||||
|
||||
@ -95,10 +95,8 @@ implementation
|
||||
verbose,globals,systems,globtype,constexp,
|
||||
symconst,symdef,symsym,symtable,aasmtai,aasmdata,aasmcpu,defutil,
|
||||
procinfo,cgbase,pass_2,parabase,
|
||||
cpubase,cpuinfo,
|
||||
nld,ncon,
|
||||
cpubase,ncon,
|
||||
tgobj,paramgr,
|
||||
regvars,
|
||||
cgutils,cgobj,hlcgobj,nutils
|
||||
;
|
||||
|
||||
|
||||
@ -69,9 +69,8 @@ implementation
|
||||
systems,
|
||||
verbose,globals,constexp,
|
||||
nutils,
|
||||
symtable,symconst,symdef,symsym,defutil,paramgr,
|
||||
ncnv,ncon,nmem,nbas,ncgrtti,
|
||||
aasmbase,aasmtai,aasmcpu,
|
||||
symtable,symconst,symdef,symsym,defutil,paramgr,ncon,nbas,ncgrtti,
|
||||
aasmbase,
|
||||
cgbase,pass_2,
|
||||
procinfo,
|
||||
cpubase,parabase,
|
||||
|
||||
@ -294,8 +294,8 @@ implementation
|
||||
uses
|
||||
globtype,systems,constexp,
|
||||
cutils,verbose,globals,widestr,
|
||||
symconst,symdef,symsym,symbase,symtable,
|
||||
ncon,ncal,nset,nadd,ninl,nmem,nmat,nbas,nutils,
|
||||
symconst,symdef,symsym,symtable,
|
||||
ncon,ncal,nset,nadd,nmem,nmat,nbas,nutils,
|
||||
cgbase,procinfo,
|
||||
htypechk,pass_1,cpuinfo;
|
||||
|
||||
|
||||
@ -173,13 +173,13 @@ interface
|
||||
implementation
|
||||
|
||||
uses
|
||||
cutils,verbose,globtype,globals,systems,constexp,
|
||||
verbose,globtype,globals,systems,constexp,
|
||||
symnot,symtable,
|
||||
defutil,defcmp,
|
||||
htypechk,pass_1,procinfo,paramgr,
|
||||
cpuinfo,
|
||||
ncon,ninl,ncnv,nmem,ncal,nutils,nbas,
|
||||
cgobj,cgbase
|
||||
ncon,ninl,ncnv,nmem,ncal,nutils,
|
||||
cgbase
|
||||
;
|
||||
|
||||
{*****************************************************************************
|
||||
|
||||
@ -27,9 +27,7 @@ interface
|
||||
|
||||
uses
|
||||
cclasses,
|
||||
globtype,globals,
|
||||
cpubase,cgbase,cgutils,
|
||||
aasmbase,
|
||||
globtype,globals,cgbase,cgutils,
|
||||
symtype,
|
||||
optbase;
|
||||
|
||||
@ -482,7 +480,7 @@ interface
|
||||
implementation
|
||||
|
||||
uses
|
||||
cutils,verbose,ppu,comphook,
|
||||
verbose,ppu,comphook,
|
||||
symconst,
|
||||
nutils,nflw,
|
||||
defutil;
|
||||
|
||||
@ -48,12 +48,10 @@ unit optcse;
|
||||
uses
|
||||
globtype,globals,
|
||||
cutils,cclasses,
|
||||
verbose,
|
||||
nutils,
|
||||
procinfo,
|
||||
nbas,nld,ninl,ncal,ncnv,nadd,nmem,
|
||||
nbas,nld,ninl,ncal,nadd,nmem,
|
||||
pass_1,
|
||||
symconst,symtype,symdef,symsym,
|
||||
symconst,symdef,symsym,
|
||||
defutil,
|
||||
optbase;
|
||||
|
||||
|
||||
@ -26,7 +26,7 @@ unit options;
|
||||
interface
|
||||
|
||||
uses
|
||||
CClasses,cfileutl,
|
||||
cfileutl,
|
||||
globtype,globals,verbose,systems,cpuinfo, comprsrc;
|
||||
|
||||
Type
|
||||
@ -90,7 +90,6 @@ uses
|
||||
cutils,cmsgs,
|
||||
comphook,
|
||||
symtable,scanner,rabase,
|
||||
wpobase,
|
||||
symconst,
|
||||
i_bsd;
|
||||
|
||||
|
||||
@ -50,21 +50,15 @@ interface
|
||||
implementation
|
||||
|
||||
uses
|
||||
SysUtils,
|
||||
{ common }
|
||||
cutils,
|
||||
{ global }
|
||||
globals,tokens,verbose,widestr,constexp,
|
||||
systems,
|
||||
{ aasm }
|
||||
aasmbase,aasmtai,aasmdata,fmodule,
|
||||
systems,aasmdata,fmodule,
|
||||
{ symtable }
|
||||
symconst,symbase,symtype,symtable,symcreat,paramgr,defutil,
|
||||
symconst,symbase,symtype,symtable,symcreat,defutil,
|
||||
{ pass 1 }
|
||||
htypechk,
|
||||
nmat,nadd,ncal,nset,ncnv,ninl,ncon,nld,nflw,nobj,
|
||||
{ codegen }
|
||||
ncgutil,ngenutil,
|
||||
htypechk,ninl,ncon,nobj,ngenutil,
|
||||
{ parser }
|
||||
scanner,
|
||||
pbase,pexpr,ptype,ptconst,pdecsub,pdecvar,pdecobj,pgenutil,
|
||||
|
||||
@ -96,13 +96,14 @@ implementation
|
||||
cutils,cclasses,
|
||||
{ global }
|
||||
globtype,globals,verbose,constexp,
|
||||
systems,fpccrc,
|
||||
systems,
|
||||
cpuinfo,
|
||||
{ symtable }
|
||||
symbase,symtable,symcreat,defutil,defcmp,paramgr,cpupara,
|
||||
symbase,symtable,defutil,defcmp,
|
||||
{ parameter handling }
|
||||
paramgr,cpupara,
|
||||
{ pass 1 }
|
||||
fmodule,node,htypechk,
|
||||
nmat,nadd,ncal,nset,ncnv,ninl,ncon,nld,nflw,
|
||||
fmodule,node,htypechk,ncon,
|
||||
objcutil,
|
||||
{ parser }
|
||||
scanner,
|
||||
|
||||
@ -70,9 +70,7 @@ implementation
|
||||
nmat,nadd,nmem,nset,ncnv,ninl,ncon,nld,nflw,nbas,nutils,
|
||||
{ parser }
|
||||
scanner,
|
||||
pbase,pinline,ptype,pgenutil,
|
||||
{ codegen }
|
||||
cgbase,procinfo,cpuinfo
|
||||
pbase,pinline,ptype,pgenutil,procinfo,cpuinfo
|
||||
;
|
||||
|
||||
{ sub_expr(opmultiply) is need to get -1 ** 4 to be
|
||||
|
||||
@ -26,7 +26,7 @@ unit psub;
|
||||
interface
|
||||
|
||||
uses
|
||||
cclasses,globals,
|
||||
globals,
|
||||
node,nbas,
|
||||
symdef,procinfo,optdfa;
|
||||
|
||||
@ -90,9 +90,7 @@ implementation
|
||||
cutils,
|
||||
{ global }
|
||||
globtype,tokens,verbose,comphook,constexp,
|
||||
systems,
|
||||
{ aasm }
|
||||
cpuinfo,cpubase,aasmbase,aasmtai,aasmdata,
|
||||
systems,cpubase,aasmbase,aasmtai,aasmdata,
|
||||
{ symtable }
|
||||
symconst,symbase,symsym,symtype,symtable,defutil,symcreat,
|
||||
paramgr,
|
||||
@ -108,15 +106,14 @@ implementation
|
||||
pass_2,
|
||||
{$endif}
|
||||
{ parser }
|
||||
scanner,import,gendef,
|
||||
scanner,gendef,
|
||||
pbase,pstatmnt,pdecl,pdecsub,pexports,pgenutil,pparautl,
|
||||
{ codegen }
|
||||
tgobj,cgbase,cgobj,cgcpu,hlcgobj,hlcgcpu,dbgbase,
|
||||
tgobj,cgbase,cgobj,hlcgobj,hlcgcpu,dbgbase,
|
||||
ncgutil,regvars,
|
||||
optbase,
|
||||
opttail,
|
||||
optcse,optloop,
|
||||
optutils
|
||||
optcse,optloop
|
||||
{$if defined(arm) or defined(avr) or defined(fpc_compiler_has_fixup_jmps)}
|
||||
,aasmcpu
|
||||
{$endif arm}
|
||||
|
||||
@ -36,9 +36,9 @@ interface
|
||||
{ node }
|
||||
node,
|
||||
{ aasm }
|
||||
aasmbase,aasmtai,aasmdata,
|
||||
aasmbase,aasmtai,
|
||||
cpubase,cpuinfo,
|
||||
cgbase,cgutils,
|
||||
cgbase,
|
||||
parabase
|
||||
;
|
||||
|
||||
@ -1010,9 +1010,9 @@ implementation
|
||||
{ global }
|
||||
verbose,
|
||||
{ target }
|
||||
systems,aasmcpu,paramgr,
|
||||
systems,paramgr,
|
||||
{ symtable }
|
||||
symsym,symtable,symutil,defutil,objcdef,
|
||||
symsym,symtable,defutil,objcdef,
|
||||
{$ifdef jvm}
|
||||
jvmdef,
|
||||
{$endif}
|
||||
|
||||
@ -26,16 +26,11 @@ interface
|
||||
|
||||
uses
|
||||
{ common }
|
||||
cutils,cclasses,
|
||||
{ global }
|
||||
cpuinfo,globtype,tokens,
|
||||
cutils,cclasses,globtype,tokens,
|
||||
{ symtable }
|
||||
symconst,symbase,symtype,symdef,symsym,
|
||||
{ ppu }
|
||||
ppu,
|
||||
{ assembler }
|
||||
aasmtai,aasmdata
|
||||
;
|
||||
ppu;
|
||||
|
||||
|
||||
{****************************************************************************
|
||||
@ -346,10 +341,8 @@ implementation
|
||||
uses
|
||||
{ global }
|
||||
verbose,globals,
|
||||
{ target }
|
||||
systems,
|
||||
{ symtable }
|
||||
symutil,defcmp,defutil,
|
||||
symutil,defutil,
|
||||
{ module }
|
||||
fmodule,
|
||||
{ codegen }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user