private void tryFoldForCondition ( Node forCondition ) { if ( NodeUtil . getPureBooleanValue ( forCondition ) == TernaryValue . TRUE ) { reportChangeToEnclosingScope ( forCondition ) ; forCondition . replaceWith ( IR . empty ( ) ) ; } }
Remove always true loop conditions .