mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 02:59:13 +02:00
* compilation fixed
git-svn-id: trunk@38280 -
This commit is contained in:
parent
2eff55436d
commit
e92422383a
@ -3080,6 +3080,7 @@ unit aoptx86;
|
|||||||
function TX86AsmOptimizer.PostPeepholeOptCall(var p : tai) : Boolean;
|
function TX86AsmOptimizer.PostPeepholeOptCall(var p : tai) : Boolean;
|
||||||
var
|
var
|
||||||
hp1 : tai;
|
hp1 : tai;
|
||||||
|
hp2 : taicpu;
|
||||||
begin
|
begin
|
||||||
Result:=false;
|
Result:=false;
|
||||||
{$ifndef x86_64}
|
{$ifndef x86_64}
|
||||||
@ -3090,7 +3091,7 @@ unit aoptx86;
|
|||||||
GetNextInstruction(p, hp1) and
|
GetNextInstruction(p, hp1) and
|
||||||
MatchInstruction(hp1,A_JMP,[S_NO]) and
|
MatchInstruction(hp1,A_JMP,[S_NO]) and
|
||||||
MatchOpType(taicpu(hp1),top_ref) and
|
MatchOpType(taicpu(hp1),top_ref) and
|
||||||
(taicpu(hp1).oper[0]^.ref^.refaddr=addr_full)) then
|
(taicpu(hp1).oper[0]^.ref^.refaddr=addr_full) then
|
||||||
begin
|
begin
|
||||||
hp2 := taicpu.Op_sym(A_PUSH,S_L,taicpu(hp1).oper[0]^.ref^.symbol);
|
hp2 := taicpu.Op_sym(A_PUSH,S_L,taicpu(hp1).oper[0]^.ref^.symbol);
|
||||||
InsertLLItem(p.previous, p, hp2);
|
InsertLLItem(p.previous, p, hp2);
|
||||||
|
Loading…
Reference in New Issue
Block a user