Explorar o código

* set CObjData in the TWasmExeOutput constructor

Nikolay Nikolov %!s(int64=2) %!d(string=hai) anos
pai
achega
6bead20fc3
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      compiler/ogwasm.pas

+ 8 - 0
compiler/ogwasm.pas

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