浏览代码

+ support in_wasm32_throw_fpcexception in twasminlinenode.pass_typecheck_cpu

Nikolay Nikolov 3 年之前
父节点
当前提交
f701d2f294
共有 1 个文件被更改,包括 5 次插入0 次删除
  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;