mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
calculate the block return type also for simple BLOCKs
This commit is contained in:
parent
66172e593f
commit
c9e34715c9
@ -1586,7 +1586,7 @@ class BranchManger {
|
|||||||
}
|
}
|
||||||
switch( startBlock.getOperation() ) {
|
switch( startBlock.getOperation() ) {
|
||||||
case IF:
|
case IF:
|
||||||
// case BLOCK:
|
case BLOCK:
|
||||||
try {
|
try {
|
||||||
ArrayDeque<AnyType> stack = new ArrayDeque<>();
|
ArrayDeque<AnyType> stack = new ArrayDeque<>();
|
||||||
stack.push( ValueType.empty );
|
stack.push( ValueType.empty );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user