added support for pi instructions
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2482 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
41cee5c4e6
commit
43dfda2511
|
@ -534,7 +534,12 @@ public class DemandPointerFlowGraph extends AbstractDemandFlowGraph implements I
|
|||
*/
|
||||
@Override
|
||||
public void visitPi(SSAPiInstruction instruction) {
|
||||
Assertions.UNREACHABLE();
|
||||
// for now, ignore condition and just treat it as a copy
|
||||
PointerKey def = heapModel.getPointerKeyForLocal(node, instruction.getDef());
|
||||
PointerKey use = heapModel.getPointerKeyForLocal(node, instruction.getVal());
|
||||
g.addNode(def);
|
||||
g.addNode(use);
|
||||
g.addEdge(def, use, AssignLabel.noFilter());
|
||||
}
|
||||
|
||||
public ISSABasicBlock getBasicBlock() {
|
||||
|
|
Loading…
Reference in New Issue