瀏覽代碼

- removed getopstr - unused function, causing warning

git-svn-id: branches/z80@44834 -
nickysn 5 年之前
父節點
當前提交
ed2c19293a
共有 1 個文件被更改,包括 0 次插入30 次删除
  1. 0 30
      compiler/z80/agsdasz80.pas

+ 0 - 30
compiler/z80/agsdasz80.pas

@@ -530,36 +530,6 @@ unit agsdasz80;
         end;
 
 
-      function getopstr(const o:toper) : string;
-        var
-          hs : string;
-          first : boolean;
-          r : tsuperregister;
-        begin
-          //case o.typ of
-          //  top_reg:
-          //    getopstr:=gas_regname(o.reg);
-          //  top_const:
-          //    getopstr:=tostr(longint(o.val));
-          //  top_ref:
-          //    if o.ref^.refaddr=addr_full then
-          //      begin
-          //        hs:=ReplaceForbiddenAsmSymbolChars(o.ref^.symbol.name);
-          //        if o.ref^.offset>0 then
-          //         hs:=hs+'+'+tostr(o.ref^.offset)
-          //        else
-          //         if o.ref^.offset<0 then
-          //          hs:=hs+tostr(o.ref^.offset);
-          //        getopstr:=hs;
-          //      end
-          //    else
-          //      getopstr:=getreferencestring(o.ref^);
-          //  else
-          //    internalerror(2002070604);
-          //end;
-        end;
-
-
       procedure doalign(alignment: byte; use_op: boolean; fillop: byte; maxbytes: byte; out last_align: longint;lasthp:tai);
         var
           i: longint;