mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 15:37:52 +01:00
Also try blocks skip
This commit is contained in:
parent
23da864f1d
commit
c19a9ca9b6
@ -1235,6 +1235,7 @@ class BranchManger {
|
|||||||
case IF:
|
case IF:
|
||||||
case BLOCK:
|
case BLOCK:
|
||||||
case LOOP:
|
case LOOP:
|
||||||
|
case TRY:
|
||||||
// skip the content of the block, important to not count ELSE blocks
|
// skip the content of the block, important to not count ELSE blocks
|
||||||
i = findEndInstruction( instructions, i );
|
i = findEndInstruction( instructions, i );
|
||||||
break;
|
break;
|
||||||
@ -1266,6 +1267,7 @@ class BranchManger {
|
|||||||
case IF:
|
case IF:
|
||||||
case BLOCK:
|
case BLOCK:
|
||||||
case LOOP:
|
case LOOP:
|
||||||
|
case TRY:
|
||||||
count++;
|
count++;
|
||||||
break;
|
break;
|
||||||
case END:
|
case END:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user