Parcourir la source

Fix compilation of sparc compiler with -dDEBUG_ALL_OPT

Pierre Muller il y a 3 ans
Parent
commit
ad72542e9e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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;