Browse Source

* fixed internal linker crash if no tags are defined (i.e. no WASM native exceptions used)

Nikolay Nikolov 1 year ago
parent
commit
e3f4bad164
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/ogwasm.pas

+ 1 - 1
compiler/ogwasm.pas

@@ -4739,7 +4739,7 @@ implementation
         begin
           exesec:=FindExeSection('.wasm_tags');
           if not assigned(exesec) then
-            internalerror(2024010701);
+            exit;
           tags_count:=exesec.ObjSectionList.Count;
           if tags_count<>exesec.Size then
             internalerror(2024010702);