peter преди 25 години
родител
ревизия
a9cff3c8c5
променени са 3 файла, в които са добавени 15 реда и са изтрити 8 реда
  1. 4 3
      compiler/cgai386.pas
  2. 5 4
      compiler/psub.pas
  3. 6 1
      compiler/tccal.pas

+ 4 - 3
compiler/cgai386.pas

@@ -3118,8 +3118,6 @@ procedure mov_reg_to_dest(p : ptree; s : topsize; reg : tregister);
 {$endif GDB}
 {$endif GDB}
       hr : preference;
       hr : preference;
       p : psymtable;
       p : psymtable;
-      hp : preference;
-      pp : pprocinfo;
       r : treference;
       r : treference;
       oldlist,
       oldlist,
       oldexprasmlist : paasmoutput;
       oldexprasmlist : paasmoutput;
@@ -3899,7 +3897,10 @@ procedure mov_reg_to_dest(p : ptree; s : topsize; reg : tregister);
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.96  2000-04-10 12:23:18  jonas
+  Revision 1.97  2000-04-24 12:48:37  peter
+    * removed unused vars
+
+  Revision 1.96  2000/04/10 12:23:18  jonas
     * modified copyshortstring so it takes an extra paramter which allows it
     * modified copyshortstring so it takes an extra paramter which allows it
       to delete the sref itself (so the reg deallocations are put in the
       to delete the sref itself (so the reg deallocations are put in the
       right place for the optimizer)
       right place for the optimizer)

+ 5 - 4
compiler/psub.pas

@@ -670,9 +670,6 @@ end;
 
 
 
 
 procedure resetvaluepara(p:pnamedindexobject);{$ifndef FPC}far;{$endif}
 procedure resetvaluepara(p:pnamedindexobject);{$ifndef FPC}far;{$endif}
-var
-  vs : pvarsym;
-  s  : string;
 begin
 begin
   if psym(p)^.typ=varsym then
   if psym(p)^.typ=varsym then
     with pvarsym(p)^ do
     with pvarsym(p)^ do
@@ -680,6 +677,7 @@ begin
           aktprocsym^.definition^.parast^.symsearch^.rename(name,copy(name,4,length(name)));
           aktprocsym^.definition^.parast^.symsearch^.rename(name,copy(name,4,length(name)));
 end;
 end;
 
 
+
 procedure pd_cdecl(const procnames:Tstringcontainer);
 procedure pd_cdecl(const procnames:Tstringcontainer);
 begin
 begin
   if aktprocsym^.definition^.deftype<>procvardef then
   if aktprocsym^.definition^.deftype<>procvardef then
@@ -2014,7 +2012,10 @@ end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.56  2000-03-31 22:56:47  pierre
+  Revision 1.57  2000-04-24 12:48:37  peter
+    * removed unused vars
+
+  Revision 1.56  2000/03/31 22:56:47  pierre
     * fix the handling of value parameters in cdecl function
     * fix the handling of value parameters in cdecl function
 
 
   Revision 1.55  2000/03/27 11:57:22  pierre
   Revision 1.55  2000/03/27 11:57:22  pierre

+ 6 - 1
compiler/tccal.pas

@@ -400,7 +400,9 @@ implementation
 
 
          { only Dummy }
          { only Dummy }
          hcvt : tconverttype;
          hcvt : tconverttype;
+{$ifdef m68k}
          regi : tregister;
          regi : tregister;
+{$endif}
          method_must_be_valid : boolean;
          method_must_be_valid : boolean;
       label
       label
         errorexit;
         errorexit;
@@ -1231,7 +1233,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.83  2000-04-02 18:30:12  florian
+  Revision 1.84  2000-04-24 12:48:38  peter
+    * removed unused vars
+
+  Revision 1.83  2000/04/02 18:30:12  florian
     * fixed another problem with readln(<floating point register variable>);
     * fixed another problem with readln(<floating point register variable>);
     * the register allocator takes now care of necessary pushes/pops for
     * the register allocator takes now care of necessary pushes/pops for
       readln/writeln
       readln/writeln