From dd69ab54888fbe66306379fe266e992ef26fba90 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 7 May 2017 16:18:37 +0000 Subject: [PATCH] * cleanup after all old code from PeepHoleOptPass2 of i386 was moved to the common x86 optimizer class git-svn-id: trunk@36147 - --- compiler/i386/aoptcpu.pas | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/compiler/i386/aoptcpu.pas b/compiler/i386/aoptcpu.pas index e5b83e2607..746f299555 100644 --- a/compiler/i386/aoptcpu.pas +++ b/compiler/i386/aoptcpu.pas @@ -1742,24 +1742,8 @@ end; procedure TCPUAsmOptimizer.PeepHoleOptPass2; - -{$ifdef DEBUG_AOPTCPU} - procedure DebugMsg(const s: string;p : tai); - begin - asml.insertbefore(tai_comment.Create(strpnew(s)), p); - end; -{$else DEBUG_AOPTCPU} - procedure DebugMsg(const s: string;p : tai);inline; - begin - end; -{$endif DEBUG_AOPTCPU} - var - p,hp1,hp2,hp3: tai; - l : longint; - condition : tasmcond; - carryadd_opcode: Tasmop; - + p : tai; begin p := BlockStart; ClearUsedRegs;