mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 02:50:40 +01:00
* longjmp in fpc_reraise changed to a throw instruction intrinsic in wasm native exceptions mode
This commit is contained in:
parent
0c3e179652
commit
3836b0be04
@ -245,7 +245,8 @@ begin
|
||||
// If _ExceptAddrStack=Nil then
|
||||
// DoUnHandledException;
|
||||
ExceptObjectStack^.refcount := 0;
|
||||
longjmp(_ExceptAddrStack^.Buf^,FPC_Exception);
|
||||
// longjmp(_ExceptAddrStack^.Buf^,FPC_Exception);
|
||||
fpc_wasm32_throw_fpcexception;
|
||||
end;
|
||||
{$endif FPC_SYSTEM_HAS_RERAISE}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user