Browse Source

+ support in_wasm32_throw_fpcexception in twasminlinenode.pass_typecheck_cpu

Nikolay Nikolov 3 years ago
parent
commit
f701d2f294
1 changed files with 5 additions and 0 deletions
  1. 5 0
      compiler/wasm32/nwasminl.pas

+ 5 - 0
compiler/wasm32/nwasminl.pas

@@ -189,6 +189,11 @@ implementation
               CheckParameters(0);
               resultdef:=voidtype;
             end;
+          in_wasm32_throw_fpcexception:
+            begin
+              CheckParameters(0);
+              resultdef:=voidtype;
+            end;
           else
             Result:=inherited pass_typecheck_cpu;
         end;