Explorar o código

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

git-svn-id: trunk@40282 -
florian %!s(int64=6) %!d(string=hai) anos
pai
achega
e8ebc00b3b
Modificáronse 1 ficheiros con 0 adicións e 12 borrados
  1. 0 12
      compiler/i386/aoptcpu.pas

+ 0 - 12
compiler/i386/aoptcpu.pas

@@ -393,18 +393,6 @@ begin
             else
             { All other optimizes }
               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
                   A_AND:
                     if OptPass1And(p) then