[PATCH 161/188] fix writing local variables

From 0af39269ab1988d36606b5da7d958afce583357c Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <skalogryz.lists@gmail.com>
Date: Fri, 27 Mar 2020 09:54:00 -0400

git-svn-id: branches/wasm@46157 -
This commit is contained in:
nickysn 2020-08-03 13:01:52 +00:00
parent 1631be00c8
commit 34e5a15752

View File

@ -473,8 +473,8 @@ begin
WriteU32(dst, length(la));
for j:=0 to length(la)-1 do begin
WriteU32(dst, la[i].count);
dst.WriteByte(la[i].tp);
WriteU32(dst, la[j].count);
dst.WriteByte(la[j].tp);
end;
WriteInstList(f.instr, LongWord(dofs-sc.datapos));
popStream;