From 7bfe1f78659260462a48a54f17c7bac2f745aa72 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sat, 13 Sep 2008 12:20:01 +0000 Subject: [PATCH] * fixed indentation * fixed use of instruction instance after it has been freed git-svn-id: trunk@11761 - --- compiler/i386/popt386.pas | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/compiler/i386/popt386.pas b/compiler/i386/popt386.pas index e7c6361cc9..d47b218e6f 100644 --- a/compiler/i386/popt386.pas +++ b/compiler/i386/popt386.pas @@ -1808,13 +1808,13 @@ begin Taicpu(p).clearop(0); Taicpu(p).ops:=0; Taicpu(p).is_jmp:=false; - Taicpu(p).opcode:=A_CMC; - Taicpu(p).condition:=C_NONE; - Taicpu(hp1).ops:=2; + Taicpu(p).opcode:=A_CMC; + Taicpu(p).condition:=C_NONE; + Taicpu(hp1).ops:=2; Taicpu(hp1).loadoper(1,Taicpu(hp1).oper[0]^); Taicpu(hp1).loadconst(0,0); - Taicpu(hp1).opcode:=carryadd_opcode; - continue; + Taicpu(hp1).opcode:=carryadd_opcode; + continue; end; end; if Taicpu(p).condition in [C_AE,C_NB] then @@ -1827,11 +1827,12 @@ begin begin asml.remove(p); p.free; - Taicpu(hp1).ops:=2; + Taicpu(hp1).ops:=2; Taicpu(hp1).loadoper(1,Taicpu(hp1).oper[0]^); Taicpu(hp1).loadconst(0,0); - Taicpu(hp1).opcode:=carryadd_opcode; - continue; + Taicpu(hp1).opcode:=carryadd_opcode; + p:=hp1; + continue; end; end; end;