소스 검색

+ support in_wasm32_throw_fpcexception in twasminlinenode.pass_typecheck_cpu

Nikolay Nikolov 4 년 전
부모
커밋
f701d2f294
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      compiler/wasm32/nwasminl.pas

+ 5 - 0
compiler/wasm32/nwasminl.pas

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