Explorar el Código

m68k: cleaned ancient silly debug mess from a_loadaddr_ref_reg. no functional changes.

git-svn-id: trunk@28076 -
Károly Balogh hace 11 años
padre
commit
d93e7b3367
Se han modificado 1 ficheros con 2 adiciones y 10 borrados
  1. 2 10
      compiler/m68k/cgcpu.pas

+ 2 - 10
compiler/m68k/cgcpu.pas

@@ -937,17 +937,9 @@ unit cgcpu;
 
 
     procedure tcg68k.a_loadaddr_ref_reg(list : TAsmList;const ref : treference;r : tregister);
-     var
-       href : treference;
-//       p: pointer;
+      var
+        href : treference;
       begin
-         { TODO: FIX ME!!! take a look on this mess again...}
-//        if getregtype(r)=R_ADDRESSREGISTER then
-//          begin
-//            writeln('address reg?!?');
-//            p:=nil; dword(p^):=0; {DEBUG CODE... :D )
-//            internalerror(2002072901);
-//          end;
         href:=ref;
         fixref(list, href);
         list.concat(taicpu.op_ref_reg(A_LEA,S_L,href,r));