Browse Source

* twasmexceptionstatehandler renamed twasmexceptionstatehandler_noexceptions

Nikolay Nikolov 3 years ago
parent
commit
3ca9475bde
1 changed files with 6 additions and 6 deletions
  1. 6 6
      compiler/wasm32/cpupi.pas

+ 6 - 6
compiler/wasm32/cpupi.pas

@@ -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;