Browse Source

* set CObjData in the TWasmExeOutput constructor

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

+ 8 - 0
compiler/ogwasm.pas

@@ -197,6 +197,8 @@ interface
       protected
         function writeData:boolean;override;
         procedure DoRelocationFixup(objsec:TObjSection);override;
+      public
+        constructor create;override;
       end;
 
       { TWasmAssembler }
@@ -2221,6 +2223,12 @@ implementation
         {TODO: implement}
       end;
 
+    constructor TWasmExeOutput.create;
+      begin
+        inherited create;
+        CObjData:=TWasmObjData;
+      end;
+
 
 {****************************************************************************
                                TWasmAssembler