mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
fix loop detection for nested loops
This commit is contained in:
parent
d42620ddf0
commit
9470db15b7
@ -212,6 +212,7 @@ class BranchManager {
|
||||
case LOOP:
|
||||
if( start == prevBlock.nextPosition ) {
|
||||
loop.startPosition = prevBlock.startPosition;
|
||||
parsedBlock.endPosition = prevBlock.startPosition;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user