浏览代码

+ new debug message
* turn off accidently turned on DEBUG_AOPTCPU

git-svn-id: trunk@34731 -

florian 8 年之前
父节点
当前提交
cf2a3d8160
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      compiler/x86/aoptx86.pas

+ 2 - 1
compiler/x86/aoptx86.pas

@@ -23,7 +23,7 @@ unit aoptx86;
 
 {$i fpcdefs.inc}
 
-{$define DEBUG_AOPTCPU}
+{ $define DEBUG_AOPTCPU}
 
   interface
 
@@ -930,6 +930,7 @@ unit aoptx86;
                 taicpu(hp1).loadRef(1,taicpu(p).oper[1]^.ref^);
                 taicpu(p).loadReg(1,taicpu(hp1).oper[0]^.reg);
                 taicpu(hp1).fileinfo := taicpu(p).fileinfo;
+                DebugMsg('PeepHole Optimization,MovMov2MovMov 1',p);
               end
           end