mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-10 17:49:31 +02:00
* 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:
parent
d85e70bbb4
commit
bfe4d44aef
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user