mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 20:46:04 +02:00
* TWasmFuncTypeTable.AddFuncType renamed .AddOrGetFuncType
This commit is contained in:
parent
7266981c6c
commit
eb046b07d0
@ -103,7 +103,7 @@ interface
|
||||
public
|
||||
destructor Destroy; override;
|
||||
|
||||
function AddFuncType(wft: TWasmFuncType): integer;
|
||||
function AddOrGetFuncType(wft: TWasmFuncType): integer;
|
||||
property Count: Integer read GetCount;
|
||||
property Items[Index: Integer]: TWasmFuncType read GetItem; default;
|
||||
end;
|
||||
@ -492,7 +492,7 @@ implementation
|
||||
end;
|
||||
end;
|
||||
|
||||
function TWasmFuncTypeTable.AddFuncType(wft: TWasmFuncType): integer;
|
||||
function TWasmFuncTypeTable.AddOrGetFuncType(wft: TWasmFuncType): integer;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
@ -785,7 +785,7 @@ implementation
|
||||
|
||||
function TWasmObjData.AddFuncType(wft: TWasmFuncType): integer;
|
||||
begin
|
||||
Result:=FFuncTypes.AddFuncType(wft);
|
||||
Result:=FFuncTypes.AddOrGetFuncType(wft);
|
||||
end;
|
||||
|
||||
function TWasmObjData.globalref(asmsym: TAsmSymbol): TObjSymbol;
|
||||
|
Loading…
Reference in New Issue
Block a user