mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 19:49:31 +02: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);
|
||||
begin
|
||||
{ RaisePending has no effect on PPC, always raises them at the correct location }
|
||||
setFPSCR(getFPSCR and (not AllConfigBits));
|
||||
setFPSCR(getFPSCR and (not ExceptionsPendingMask));
|
||||
end;
|
||||
|
||||
|
@ -117,6 +117,6 @@ end;
|
||||
procedure ClearExceptions(RaisePending: Boolean = true);
|
||||
begin
|
||||
{ RaisePending has no effect on PPC, always raises them at the correct location }
|
||||
setFPSCR(getFPSCR and (not AllConfigBits));
|
||||
setFPSCR(getFPSCR and (not ExceptionsPendingMask));
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user