mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 19:41:18 +02:00
[PATCH 143/188] splitting normalization between function reference
number From 523144777fd5df98f3b40962d7c1a7729adc39a5 Mon Sep 17 00:00:00 2001 From: Dmitry Boyarintsev <skalogryz.lists@gmail.com> Date: Wed, 25 Mar 2020 11:59:02 -0400 git-svn-id: branches/wasm@46139 -
This commit is contained in:
parent
39c720778f
commit
49e71fe739
@ -1050,11 +1050,16 @@ begin
|
||||
f.idNum := fnIdx;
|
||||
|
||||
NormalizeFuncType(m, f.functype);
|
||||
|
||||
inc(fnIdx);
|
||||
end;
|
||||
|
||||
// normalizing function body
|
||||
for i:=0 to m.FuncCount-1 do begin
|
||||
f:=m.GetFunc(i);
|
||||
// finding the reference in functions
|
||||
// populating "nums" where string "index" is used
|
||||
NormalizeInst(m, f, f.instr);
|
||||
|
||||
inc(fnIdx);
|
||||
end;
|
||||
|
||||
// normalizing exports
|
||||
|
Loading…
Reference in New Issue
Block a user