Browse Source

[PATCH 065/188] moving linkinfo from functype to func. Function types
doesn't need to have linking information

From c977bfbda31a1b4c5af4f4a9acfdb8e29d8a782d Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Wed, 4 Mar 2020 09:21:45 -0500

git-svn-id: branches/wasm@46061 -

nickysn 5 years ago
parent
commit
b7aa824c5a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      utils/wasmbin/wasmmodule.pas

+ 2 - 2
utils/wasmbin/wasmmodule.pas

@@ -43,7 +43,6 @@ type
     typeIdx : string;  // if typeID='' then type is declared from typeDef
 
     // linking information
-    LinkInfo : TLinkInfo;
     constructor Create;
     destructor Destroy; override;
     function AddResult(tp: byte = 0): TWasmParam;
@@ -92,7 +91,8 @@ type
   private
     locals:  TList;
   public
-    id : string;
+    LinkInfo : TLinkInfo;
+    id       : string;
     instr    : TWasmInstrList;
     functype : TWasmFuncType;