Package org.jakstab.rtl.expressions

Examples of org.jakstab.rtl.expressions.SetOfVariables


   * the implementation, this includes only registers and flags.
   *
   * @return A set containing all variables used in this program.
   */
  public SetOfVariables getUsedVariables() {
    SetOfVariables result = new SetOfVariables();
    for (CFAEdge edge : cfa)
      result.addAll(((RTLStatement)edge.getTransformer()).getUsedVariables());
    return result;
  }
View Full Code Here


    return Collections.emptySet();
  }

  @Override
  protected SetOfVariables initUsedVariables() {
    SetOfVariables usedVariables = new SetOfVariables();
    usedVariables.addAll(destination.getUsedVariables());
    usedVariables.addAll(value.getUsedVariables());
    usedVariables.addAll(count.getUsedVariables());
    return usedVariables;
  }
View Full Code Here

TOP

Related Classes of org.jakstab.rtl.expressions.SetOfVariables

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.