Ver Fonte

+ support in_wasm32_throw_fpcexception in twasminlinenode.pass_typecheck_cpu

Nikolay Nikolov há 3 anos atrás
pai
commit
f701d2f294
1 ficheiros alterados com 5 adições e 0 exclusões
  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;