Jelajahi Sumber

Fix compilation of sparc compiler with -dDEBUG_ALL_OPT

Pierre Muller 3 tahun lalu
induk
melakukan
ad72542e9e
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  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;