Browse Source

+ initialize TWasmObjData.FFuncTypes in TWasmObjData's constructor

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

+ 1 - 0
compiler/ogwasm.pas

@@ -647,6 +647,7 @@ implementation
         CObjSection:=TWasmObjSection;
         CObjSection:=TWasmObjSection;
         CObjSymbol:=TWasmObjSymbol;
         CObjSymbol:=TWasmObjSymbol;
         FObjSymbolsExtraDataList:=TFPHashObjectList.Create;
         FObjSymbolsExtraDataList:=TFPHashObjectList.Create;
+        FFuncTypes:=TWasmFuncTypeTable.Create;
       end;
       end;
 
 
     destructor TWasmObjData.destroy;
     destructor TWasmObjData.destroy;