* Removed unused local vars.

git-svn-id: trunk@41457 -
This commit is contained in:
yury 2019-02-25 11:22:49 +00:00
parent c987aa77f9
commit a277a5f8db
4 changed files with 4 additions and 7 deletions

View File

@ -55,8 +55,6 @@ implementation
procedure tarmloadnode.generate_threadvar_access(gvs: tstaticvarsym);
var
paraloc1 : tcgpara;
pd: tprocdef;
href: treference;
hregister : tregister;
handled: boolean;

View File

@ -131,7 +131,6 @@ function WriteOk : Boolean;
end;
var
l : longint;
p,hp1,hp2 : tai;
hp3,hp4: tai;
v:aint;

View File

@ -1591,14 +1591,13 @@ implementation
sc : TFPObjectList;
i : longint;
hs,sorg : string;
hdef,casetype,tmpdef : tdef;
hdef,casetype : tdef;
{ maxsize contains the max. size of a variant }
{ startvarrec contains the start of the variant part of a record }
maxsize, startvarrecsize : longint;
usedalign,
maxalignment,startvarrecalign,
maxpadalign, startpadalign: shortint;
stowner : tdef;
pt : tnode;
fieldvs : tfieldvarsym;
hstaticvs : tstaticvarsym;

View File

@ -1474,8 +1474,9 @@ unit rgobj;
adj : psuperregisterworklist;
maxlength,p,i :word;
minweight: longint;
dist,
maxdist: Double;
{$ifdef SPILLING_NEW}
dist: Double;
{$endif}
begin
{$ifdef SPILLING_NEW}
{ This new approach for selecting the next spill candidate takes care of the weight of a register: