mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 02:29:19 +02:00
* fix for the stack tracking in twasmaddnode.second_addboolean
git-svn-id: branches/wasm@48056 -
This commit is contained in:
parent
5677e7ed81
commit
97430823cf
@ -278,6 +278,7 @@ interface
|
|||||||
// inside of ELSE (the condition evaluated as false)
|
// inside of ELSE (the condition evaluated as false)
|
||||||
// for "and" must end evaluation immediately
|
// for "and" must end evaluation immediately
|
||||||
current_asmdata.CurrAsmList.Concat( taicpu.op_const(a_i32_const, 0) );
|
current_asmdata.CurrAsmList.Concat( taicpu.op_const(a_i32_const, 0) );
|
||||||
|
thlcgwasm(hlcg).incstack(current_asmdata.CurrAsmList,1);
|
||||||
current_asmdata.CurrAsmList.Concat( taicpu.op_none(a_end_if) );
|
current_asmdata.CurrAsmList.Concat( taicpu.op_none(a_end_if) );
|
||||||
thlcgwasm(hlcg).decblock;
|
thlcgwasm(hlcg).decblock;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user