mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-13 23:29:39 +01:00
* fixed ClearExceptions (clear pending exceptions instead of all config
bits) git-svn-id: trunk@11244 -
This commit is contained in:
parent
1150f7e9dc
commit
65aa64d4ed
@ -117,6 +117,6 @@ end;
|
|||||||
procedure ClearExceptions(RaisePending: Boolean = true);
|
procedure ClearExceptions(RaisePending: Boolean = true);
|
||||||
begin
|
begin
|
||||||
{ RaisePending has no effect on PPC, always raises them at the correct location }
|
{ RaisePending has no effect on PPC, always raises them at the correct location }
|
||||||
setFPSCR(getFPSCR and (not AllConfigBits));
|
setFPSCR(getFPSCR and (not ExceptionsPendingMask));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -117,6 +117,6 @@ end;
|
|||||||
procedure ClearExceptions(RaisePending: Boolean = true);
|
procedure ClearExceptions(RaisePending: Boolean = true);
|
||||||
begin
|
begin
|
||||||
{ RaisePending has no effect on PPC, always raises them at the correct location }
|
{ RaisePending has no effect on PPC, always raises them at the correct location }
|
||||||
setFPSCR(getFPSCR and (not AllConfigBits));
|
setFPSCR(getFPSCR and (not ExceptionsPendingMask));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user