dk.brics.xact.analysis.transformations
Class FieldTransformer

java.lang.Object
  extended by dk.brics.xact.analysis.transformations.FieldTransformer

public class FieldTransformer
extends Object

Flow graph transformation for globally linking field variables. For each field variable, a nop node is created. Edges labeled with the variable are inserted from all definitions to the join node, and from the join node to all uses. The variable is removed from the labels of all edges out of use and def sites to restrict its flow to the new edges.


Constructor Summary
FieldTransformer()
          Constructs a new FieldTransformer.
 
Method Summary
 void run(FlowGraph graph)
          Transforms the given flow graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldTransformer

public FieldTransformer()
Constructs a new FieldTransformer.

Method Detail

run

public void run(FlowGraph graph)
Transforms the given flow graph.



Copyright © 2005-2011 Aarhus University.