mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +02:00
- removed getopstr - unused function, causing warning
git-svn-id: branches/z80@44834 -
This commit is contained in:
parent
fb9d7c1289
commit
ed2c19293a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user