Removes unnecessary .Index field of FunctionInstance (#1270)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
@@ -604,7 +604,6 @@ func (m *ModuleInstance) BuildFunctions(mod *Module, importedFunctions []*Functi
|
||||
fns[offset] = FunctionInstance{
|
||||
TypeID: m.TypeIDs[section],
|
||||
Module: m,
|
||||
Idx: d.index,
|
||||
Type: d.funcType,
|
||||
Definition: d,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user