remove debug code

This commit is contained in:
Volker Berlin 2020-05-27 21:20:22 +02:00
parent 8f1cc4bf97
commit 9f9bfa05e6

View File

@ -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 );
}