Browse Source

Fix compilation of sparc compiler with -dDEBUG_ALL_OPT

Pierre Muller 3 năm trước cách đây
mục cha
commit
ad72542e9e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;