Package dk.brics.xact.analysis.flowgraph

Examples of dk.brics.xact.analysis.flowgraph.VariableFilter.containsVariable()


      // replace variables in edges
      // XXX this could take quadratic time. it could be improved easily
      for (Edge<Statement,VariableFilter> edge : graph.getOutEdges(s)) {
        VariableFilter filter = edge.getData();
        for (Variable var : var_alias.getKeys())
          if (filter.containsVariable(var))
            filter.addVariable(var_alias.getRepresentativeKey(var)); // XXX: no need to remove var?
      }
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.