mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
docu
This commit is contained in:
parent
f277238d14
commit
f91f34c626
@ -805,6 +805,7 @@ class BranchManger {
|
||||
int deep = 0;
|
||||
while( parent != null ) {
|
||||
if( parent.startOp == WasmBlockOperator.LOOP && parent.startPos == jump ) {
|
||||
// the loop instruction itself doesn’t result in an iteration, instead a br 0 instruction causes the loop to repeat
|
||||
parent.add( new BranchNode( start, start, WasmBlockOperator.BR, null, deep ) ); // continue to the start of the loop
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user