Package dk.brics.string.intermediate

Examples of dk.brics.string.intermediate.AssertStatement


          protectedNops.clear();
          // assertions referring to a nop statement must have their target updated to the nop's predecessor,
          // or in case there are multiple predecessors, the nop must not be removed
          for (Statement s : m.getStatements()) {
            if (s instanceof AssertStatement) {
              AssertStatement a = (AssertStatement)s;
              Statement target = a.targetStatement;
              while (target instanceof Nop && target.getPreds().size() == 1) {
                target = target.getPreds().iterator().next();
                a.targetStatement = target;
              }
View Full Code Here

TOP

Related Classes of dk.brics.string.intermediate.AssertStatement

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.