Browse Source

Fix compilation of sparc compiler with -dDEBUG_ALL_OPT

Pierre Muller 3 years ago
parent
commit
ad72542e9e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/sparcgen/aoptcpu.pas

+ 3 - 0
compiler/sparcgen/aoptcpu.pas

@@ -48,6 +48,9 @@ unit aoptcpu;
   Implementation
 
   uses
+{$ifdef DEBUG_AOPTCPU}
+    cutils,
+{$endif  DEBUG_AOPTCPU}
     globtype,globals,aasmcpu;
 
   function MatchInstruction(const instr: tai; const op: TAsmOp): boolean;