mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 00:09:23 +02:00
* fix JumpTargetOp for sparc64
git-svn-id: trunk@37158 -
This commit is contained in:
parent
5d41b88b26
commit
8315c660f4
@ -375,9 +375,14 @@ Unit AoptObj;
|
|||||||
{$if defined(MIPS)}
|
{$if defined(MIPS)}
|
||||||
{ MIPS branches can have 1,2 or 3 operands, target label is the last one. }
|
{ MIPS branches can have 1,2 or 3 operands, target label is the last one. }
|
||||||
result:=ai.oper[ai.ops-1];
|
result:=ai.oper[ai.ops-1];
|
||||||
|
{$elseif defined(SPARC64)}
|
||||||
|
if ai.ops=2 then
|
||||||
|
result:=ai.oper[1]
|
||||||
|
else
|
||||||
|
result:=ai.oper[0];
|
||||||
{$else MIPS}
|
{$else MIPS}
|
||||||
result:=ai.oper[0];
|
result:=ai.oper[0];
|
||||||
{$endif MIPS}
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user