mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 11:49:24 +02:00
- unused units removed from uses clause
- unused variables removed from implemntation declarations
This commit is contained in:
parent
e1c306879a
commit
be8d4b2e26
@ -22,34 +22,17 @@ unit CpuGas;
|
|||||||
{$MACRO ON}{$INCLUDE fpcdefs.inc}
|
{$MACRO ON}{$INCLUDE fpcdefs.inc}
|
||||||
interface
|
interface
|
||||||
uses
|
uses
|
||||||
cclasses,cpubase,
|
cpubase,
|
||||||
globals,
|
aasmtai,aasmcpu,assemble,aggas;
|
||||||
aasmbase,aasmtai,aasmcpu,assemble,aggas;
|
|
||||||
type
|
type
|
||||||
TGasSPARC=class(TGnuAssembler)
|
TGasSPARC=class(TGnuAssembler)
|
||||||
procedure WriteInstruction(hp:Tai);override;
|
procedure WriteInstruction(hp:Tai);override;
|
||||||
end;
|
end;
|
||||||
implementation
|
implementation
|
||||||
uses
|
uses
|
||||||
finput,
|
|
||||||
cutils,systems,
|
cutils,systems,
|
||||||
verbose;
|
verbose;
|
||||||
{$DEFINE gas_reg2str:=std_reg2str}
|
{$DEFINE gas_reg2str:=std_reg2str}
|
||||||
const
|
|
||||||
line_length = 70;
|
|
||||||
var
|
|
||||||
{$ifdef GDB}
|
|
||||||
n_line:byte; { different types of source lines }
|
|
||||||
linecount,
|
|
||||||
includecount:longint;
|
|
||||||
funcname:pchar;
|
|
||||||
stabslastfileinfo:tfileposinfo;
|
|
||||||
{$endif}
|
|
||||||
lastsec:tsection; { last section type written }
|
|
||||||
lastfileinfo:tfileposinfo;
|
|
||||||
infile,
|
|
||||||
lastinfile:tinputfile;
|
|
||||||
symendcount:longint;
|
|
||||||
function GetReferenceString(var ref:TReference):string;
|
function GetReferenceString(var ref:TReference):string;
|
||||||
begin
|
begin
|
||||||
GetReferenceString:='+';
|
GetReferenceString:='+';
|
||||||
@ -209,7 +192,11 @@ initialization
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.13 2003-05-06 14:55:27 mazen
|
Revision 1.14 2003-05-07 11:55:34 mazen
|
||||||
|
- unused units removed from uses clause
|
||||||
|
- unused variables removed from implemntation declarations
|
||||||
|
|
||||||
|
Revision 1.13 2003/05/06 14:55:27 mazen
|
||||||
* comment changed to ;# instead of ##
|
* comment changed to ;# instead of ##
|
||||||
* .bss section changed to .section ".bss"
|
* .bss section changed to .section ".bss"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user