Browse Source

+ new debug message
* turn off accidently turned on DEBUG_AOPTCPU

git-svn-id: trunk@34731 -

florian 8 years ago
parent
commit
cf2a3d8160
1 changed files with 2 additions and 1 deletions
  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