class GraphComparison extends Object
Constructor and Description |
---|
GraphComparison() |
Modifier and Type | Method and Description |
---|---|
protected static void |
pushToWorklist(Node expectedNode,
Node actualNode,
NodeMap<Node> nodeMapping,
Deque<Pair<Node,Node>> workList) |
static boolean |
verifyGraphsEqual(StructuredGraph expectedGraph,
StructuredGraph actualGraph) |
protected static void |
verifyNodeEqual(Node expectedNode,
Node actualNode,
NodeMap<Node> nodeMapping,
Deque<Pair<Node,Node>> workList,
boolean ignoreEndNode) |
private static void |
verifyNodesEqual(NodeIterable<Node> expectedNodes,
NodeIterable<Node> actualNodes,
NodeMap<Node> nodeMapping,
Deque<Pair<Node,Node>> workList,
boolean ignoreEndNode) |
protected static void |
verifyPhi(PhiNode expectedPhi,
PhiNode actualPhi,
NodeMap<Node> nodeMapping,
Deque<Pair<Node,Node>> workList) |
protected static void |
verifyPhis(AbstractEndNode expectedEndNode,
AbstractEndNode actualEndNode,
NodeMap<Node> nodeMapping,
Deque<Pair<Node,Node>> workList) |
GraphComparison()
public static boolean verifyGraphsEqual(StructuredGraph expectedGraph, StructuredGraph actualGraph)
protected static void verifyPhi(PhiNode expectedPhi, PhiNode actualPhi, NodeMap<Node> nodeMapping, Deque<Pair<Node,Node>> workList)
protected static void verifyPhis(AbstractEndNode expectedEndNode, AbstractEndNode actualEndNode, NodeMap<Node> nodeMapping, Deque<Pair<Node,Node>> workList)
private static void verifyNodesEqual(NodeIterable<Node> expectedNodes, NodeIterable<Node> actualNodes, NodeMap<Node> nodeMapping, Deque<Pair<Node,Node>> workList, boolean ignoreEndNode)
protected static void verifyNodeEqual(Node expectedNode, Node actualNode, NodeMap<Node> nodeMapping, Deque<Pair<Node,Node>> workList, boolean ignoreEndNode)