* call decstack after if in twasmifnode.pass_generate_code to keep track of the stack balance correctly

git-svn-id: branches/wasm@48043 -
This commit is contained in:
nickysn 2021-01-04 13:53:26 +00:00
parent d85e70bbb4
commit bfe4d44aef

View File

@ -162,6 +162,7 @@ begin
current_asmdata.CurrAsmList.concat(taicpu.op_none(a_if));
thlcgwasm(hlcg).incblock;
thlcgwasm(hlcg).decstack(current_asmdata.CurrAsmList,1);
secondpass(right); // then branchs