mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-15 02:44:47 +01:00
remove debug code
This commit is contained in:
parent
8f1cc4bf97
commit
9f9bfa05e6
@ -158,24 +158,6 @@ class BranchManger {
|
||||
addLoops();
|
||||
List<ParsedBlock> parsedOperations = allParsedOperations;
|
||||
Collections.sort( parsedOperations );
|
||||
//
|
||||
// int parsedOpCount = parsedOperations.size();
|
||||
// for( int i = 0; i < parsedOpCount; i++ ) {
|
||||
// ParsedBlock startBlock = parsedOperations.get( i );
|
||||
// if( startBlock.op == JavaBlockOperator.IF ) {
|
||||
// int jumpPos = startBlock.endPosition;
|
||||
// for( int k = i + 1; k < parsedOpCount; k++ ) {
|
||||
// ParsedBlock parsedBlock = parsedOperations.get( k );
|
||||
// if( parsedBlock.op == JavaBlockOperator.GOTO && parsedBlock.startPosition < parsedBlock.endPosition ) {
|
||||
// if( jumpPos == parsedBlock.endPosition ) {
|
||||
// startBlock.endPosition = parsedBlock.startPosition;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
calculate( root, parsedOperations );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user