Browse Source

* enclose {$define DEBUG_AOPTCPU} in {$ifdef EXTDEBUG}

florian 4 months ago
parent
commit
c7290bfb78

+ 4 - 1
compiler/arm/aoptcpu.pas

@@ -25,8 +25,11 @@ Unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
+{$ifdef EXTDEBUG}
+{$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
+
 { $define DEBUG_PREREGSCHEDULER}
 { $define DEBUG_PREREGSCHEDULER}
-{ $define DEBUG_AOPTCPU}
 
 
 Interface
 Interface
 
 

+ 2 - 0
compiler/i8086/aoptcpu.pas

@@ -25,7 +25,9 @@ unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
   Interface
   Interface
 
 

+ 2 - 0
compiler/loongarch64/aoptcpu.pas

@@ -27,7 +27,9 @@ interface
 
 
 {$I fpcdefs.inc}
 {$I fpcdefs.inc}
 
 
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
 uses
 uses
   cpubase,
   cpubase,

+ 2 - 0
compiler/m68k/aoptcpu.pas

@@ -25,7 +25,9 @@ unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
   Interface
   Interface
 
 

+ 3 - 1
compiler/mips/aoptcpu.pas

@@ -25,7 +25,9 @@ unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
-{ $define DEBUG_AOPTCPU}
+{$ifdef EXTDEBUG}
+{$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
   Interface
   Interface
 
 

+ 2 - 0
compiler/riscv/aoptcpurv.pas

@@ -27,7 +27,9 @@ interface
 
 
 {$I fpcdefs.inc}
 {$I fpcdefs.inc}
 
 
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
 uses
 uses
   cpubase,
   cpubase,

+ 3 - 1
compiler/riscv64/aoptcpu.pas

@@ -27,7 +27,9 @@ interface
 
 
 {$I fpcdefs.inc}
 {$I fpcdefs.inc}
 
 
-{ $define DEBUG_AOPTCPU}
+{$ifdef EXTDEBUG}
+{$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
 uses
 uses
   cpubase,
   cpubase,

+ 3 - 1
compiler/sparcgen/aoptcpu.pas

@@ -25,7 +25,9 @@ unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
-{ $define DEBUG_AOPTCPU}
+{$ifdef EXTDEBUG}
+{$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
   Interface
   Interface
 
 

+ 3 - 1
compiler/xtensa/aoptcpu.pas

@@ -25,7 +25,9 @@ Unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
-{ $define DEBUG_AOPTCPU}
+{$ifdef EXTDEBUG}
+{$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
 Interface
 Interface
 
 

+ 2 - 0
compiler/z80/aoptcpu.pas

@@ -26,7 +26,9 @@ Unit aoptcpu;
 
 
 {$i fpcdefs.inc}
 {$i fpcdefs.inc}
 
 
+{$ifdef EXTDEBUG}
 {$define DEBUG_AOPTCPU}
 {$define DEBUG_AOPTCPU}
+{$endif EXTDEBUG}
 
 
 Interface
 Interface