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:
sjfink 2008-07-27 22:16:41 +00:00
parent 01d3dcb93a
commit 9cbbc78c86
1 changed files with 1 additions and 1 deletions

View File

@ -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(); )