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:
parent
2612c1b343
commit
19ab8669f9
|
@ -92,6 +92,9 @@ public class PartialCallGraph extends DelegatingGraph<CGNode> implements CallGra
|
||||||
|
|
||||||
public CGNode getNode(IMethod method, Context C) {
|
public CGNode getNode(IMethod method, Context C) {
|
||||||
CGNode x = cg.getNode(method, C);
|
CGNode x = cg.getNode(method, C);
|
||||||
|
if (x == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return (containsNode(x) ? x : null);
|
return (containsNode(x) ? x : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue