git-svn-id: trunk@34404 -
@@ -289,7 +289,7 @@ implementation
const
align: array[0..15] of byte = (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
var
- i,j,
+ i,
pos,
rem : longint;
module : pcontainedunit;
@@ -756,10 +756,6 @@ implementation
procedure tcgvecnode.rangecheck_array;
- hightree : tnode;
- poslabel,
- neglabel : tasmlabel;
- hreg : tregister;
paraloc1,paraloc2 : tcgpara;
pd : tprocdef;
begin
@@ -986,8 +986,6 @@ implementation
procedure TVMTWriter.generate_abstract_stub(list:TAsmList;pd:tprocdef);
- var
- sym: TAsmSymbol;
{ Generate stubs for abstract methods, so their symbols are present and
can be used e.g. to take address (see issue #24536). }
@@ -1056,7 +1054,9 @@ implementation
methodnametable,intmessagetable,
strmessagetable,classnamelabel,
fieldtablelabel : tasmlabel;
+{$ifdef vtentry}
hs: string;
+{$endif vtentry}
{$ifdef WITHDMT}
dmtlabel : tasmlabel;
{$endif WITHDMT}
@@ -752,8 +752,6 @@ implementation
class procedure tnodeutils.insertbsssym(list: tasmlist; sym: tstaticvarsym; size: asizeint; varalign: shortint);
- symind : tasmsymbol;
if sym.globalasmsym then
@@ -77,7 +77,6 @@ implementation
procedure exportprocsym(sym:tprocsym;symtable:tsymtable);
i : longint;
- item : TCmdStrListItem;
for i:=0 to tprocsym(sym).ProcdefList.Count-1 do
@@ -103,8 +102,6 @@ implementation
procedure exportabstractrecordsymproc(sym:tobject;arg:pointer);
- def : tabstractrecorddef;
case tsym(sym).typ of
typesym:
@@ -142,8 +139,6 @@ implementation
procedure exportabstractrecorddef(def:tabstractrecorddef;symtable:tsymtable);
- hp : texported_item;
{ for cross unit type aliases this might happen }
if def.owner<>symtable then
@@ -188,8 +183,6 @@ implementation
procedure insert_export(sym : TObject;arg:pointer);
- i : longint;
isglobal,
publiconly : boolean;
@@ -274,7 +267,6 @@ implementation
b,
untilb : byte;
l,m : longint;
- f : file;
ext,
s : string;
ppuversion : dword;
@@ -645,8 +637,6 @@ implementation
i,j,k : longint;
sym : tasmsymbol;
cacheentry : pcacheentry;
- list : TAsmList;
- labind : tasmsymbol;
psym : tsymentry;
found : boolean;
@@ -839,7 +829,6 @@ implementation
- unitentry : pcontainedunit;
module : tmodule;
@@ -50,7 +50,6 @@ implementation
datalist : tasmlist;
restree,
previnit : tnode;
{ mark the staticvarsym as typedconst }
include(sym.varoptions,vo_is_typed_const);