mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 11:07:30 +01:00
* fixed return value of fpc_eh_return_data_regno(1) on x86-64
git-svn-id: branches/debug_eh@40336 -
This commit is contained in:
parent
f4fa4e22b1
commit
4d262e0eca
@ -653,7 +653,11 @@ implementation
|
|||||||
begin
|
begin
|
||||||
case nr of
|
case nr of
|
||||||
0: result:=0;
|
0: result:=0;
|
||||||
|
{$ifdef x86_64}
|
||||||
|
1: result:=1;
|
||||||
|
{$else}
|
||||||
1: result:=2;
|
1: result:=2;
|
||||||
|
{$endif}
|
||||||
else
|
else
|
||||||
result:=-1;
|
result:=-1;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user