mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 14:39:14 +02:00
* twasmexceptionstatehandler renamed twasmexceptionstatehandler_noexceptions
This commit is contained in:
parent
9526b939a2
commit
3ca9475bde
@ -49,27 +49,27 @@ implementation
|
||||
tgobj,paramgr,symconst,symcpu;
|
||||
|
||||
{*****************************************************************************
|
||||
twasmexceptionstatehandler
|
||||
twasmexceptionstatehandler_noexceptions
|
||||
*****************************************************************************}
|
||||
|
||||
type
|
||||
twasmexceptionstatehandler = class(tcgexceptionstatehandler)
|
||||
twasmexceptionstatehandler_noexceptions = class(tcgexceptionstatehandler)
|
||||
class procedure new_exception(list:TAsmList;const t:texceptiontemps; const exceptframekind: texceptframekind; out exceptstate: texceptionstate); override;
|
||||
class procedure free_exception(list: TAsmList; const t: texceptiontemps; const s: texceptionstate; a: aint; endexceptlabel: tasmlabel; onlyfree:boolean); override;
|
||||
class procedure handle_nested_exception(list:TAsmList;var t:texceptiontemps;var entrystate: texceptionstate); override;
|
||||
end;
|
||||
|
||||
class procedure twasmexceptionstatehandler.new_exception(list:TAsmList;const t:texceptiontemps; const exceptframekind: texceptframekind; out exceptstate: texceptionstate);
|
||||
class procedure twasmexceptionstatehandler_noexceptions.new_exception(list:TAsmList;const t:texceptiontemps; const exceptframekind: texceptframekind; out exceptstate: texceptionstate);
|
||||
begin
|
||||
list.Concat(tai_comment.Create(strpnew('TODO: new_exception')));
|
||||
end;
|
||||
|
||||
class procedure twasmexceptionstatehandler.free_exception(list: TAsmList; const t: texceptiontemps; const s: texceptionstate; a: aint; endexceptlabel: tasmlabel; onlyfree:boolean);
|
||||
class procedure twasmexceptionstatehandler_noexceptions.free_exception(list: TAsmList; const t: texceptiontemps; const s: texceptionstate; a: aint; endexceptlabel: tasmlabel; onlyfree:boolean);
|
||||
begin
|
||||
list.Concat(tai_comment.Create(strpnew('TODO: free_exception')));
|
||||
end;
|
||||
|
||||
class procedure twasmexceptionstatehandler.handle_nested_exception(list:TAsmList;var t:texceptiontemps;var entrystate: texceptionstate);
|
||||
class procedure twasmexceptionstatehandler_noexceptions.handle_nested_exception(list:TAsmList;var t:texceptiontemps;var entrystate: texceptionstate);
|
||||
begin
|
||||
list.Concat(tai_comment.Create(strpnew('TODO: handle_nested_exception')));
|
||||
end;
|
||||
@ -86,7 +86,7 @@ implementation
|
||||
|
||||
procedure tcpuprocinfo.setup_eh;
|
||||
begin
|
||||
cexceptionstatehandler:=twasmexceptionstatehandler;
|
||||
cexceptionstatehandler:=twasmexceptionstatehandler_noexceptions;
|
||||
end;
|
||||
|
||||
procedure tcpuprocinfo.postprocess_code;
|
||||
|
Loading…
Reference in New Issue
Block a user