Преглед на файлове

* redundant code removed, work is meanwhile done by aasmcpu.optimize_ref

git-svn-id: trunk@40282 -
florian преди 7 години
родител
ревизия
e8ebc00b3b
променени са 1 файла, в които са добавени 0 реда и са изтрити 12 реда
  1. 0 12
      compiler/i386/aoptcpu.pas

+ 0 - 12
compiler/i386/aoptcpu.pas

@@ -393,18 +393,6 @@ begin
             else
             else
             { All other optimizes }
             { All other optimizes }
               begin
               begin
-                for l := 0 to taicpu(p).ops-1 Do
-                  if (taicpu(p).oper[l]^.typ = top_ref) then
-                    With taicpu(p).oper[l]^.ref^ Do
-                      begin
-                        if (base = NR_NO) and
-                           (index <> NR_NO) and
-                           (scalefactor in [0,1]) and (refaddr<>addr_tlsgd) then
-                          begin
-                            base := index;
-                            index := NR_NO
-                          end
-                      end;
                 case taicpu(p).opcode Of
                 case taicpu(p).opcode Of
                   A_AND:
                   A_AND:
                     if OptPass1And(p) then
                     if OptPass1And(p) then