bug fix for missing node

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2070 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-11-27 01:26:26 +00:00
parent 2612c1b343
commit 19ab8669f9
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ public class PartialCallGraph extends DelegatingGraph<CGNode> implements CallGra
public CGNode getNode(IMethod method, Context C) {
CGNode x = cg.getNode(method, C);
if (x == null) {
return null;
}
return (containsNode(x) ? x : null);
}