summaryrefslogtreecommitdiff
path: root/compiler/x86/aoptx86.pas
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-04-18 01:58:34 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-04-18 01:58:34 +0000
commit38b5e0606069cc5985e995e1da5b6855db67f507 (patch)
tree3396f758ef2cea5a0760aa73a6578a35c4fcac87 /compiler/x86/aoptx86.pas
parentc99242579a36e85923993a66ac396d7bb3747221 (diff)
parent003a6cf3bbb6833d60fdf0df1ad4d75449951a8e (diff)
downloadfpc-38b5e0606069cc5985e995e1da5b6855db67f507.tar.gz
* synchronized with trunk
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/unicodekvm@49224 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/x86/aoptx86.pas')
-rw-r--r--compiler/x86/aoptx86.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/x86/aoptx86.pas b/compiler/x86/aoptx86.pas
index 44e2363b91..a6141d8895 100644
--- a/compiler/x86/aoptx86.pas
+++ b/compiler/x86/aoptx86.pas
@@ -2380,6 +2380,7 @@ unit aoptx86;
mov mem, %reg"
}
+ AllocRegBetween(taicpu(hp1).oper[1]^.reg,p,hp1,usedregs);
taicpu(p).loadreg(1, taicpu(hp1).oper[1]^.reg);
DebugMsg(SPeepholeOptimization + 'MovMov2Mov 3 done',p);
RemoveInstruction(hp1);
@@ -6132,7 +6133,7 @@ unit aoptx86;
DebugMsg(SPeepholeOptimization+'JccMovJmpMov2MovSetcc',p);
{ remove last label }
RemoveInstruction(hp5);
- { remove second albel }
+ { remove second label }
RemoveInstruction(hp3);
{ if align is present remove it }
if GetNextInstruction(hp2,hp3) and (hp3.typ=ait_align) then