tweak phi dependencies
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2971 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
01d3dcb93a
commit
9cbbc78c86
|
@ -297,7 +297,7 @@ public class PDG implements NumberedGraph<Statement> {
|
|||
* right to add control dependence edges to represent how a phi
|
||||
* node depends on predecessor blocks.
|
||||
*/
|
||||
if (dOptions.equals(DataDependenceOptions.FULL)) {
|
||||
if (!dOptions.equals(DataDependenceOptions.NONE)) {
|
||||
for (ISSABasicBlock bb : cdg) {
|
||||
for(Iterator<SSAPhiInstruction> ps = bb.iteratePhis();
|
||||
ps.hasNext(); )
|
||||
|
|
Loading…
Reference in New Issue