浏览代码

Fix compilation of sparc compiler with -dDEBUG_ALL_OPT

Pierre Muller 3 年之前
父节点
当前提交
ad72542e9e
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;