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