add some comments

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@2282 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2008-01-03 22:01:23 +00:00
parent 30295213e0
commit aeadf8a6b7
1 changed files with 6 additions and 0 deletions

View File

@ -144,6 +144,9 @@ public class PDG extends SlowSparseNumberedGraph<Statement> {
createControlDependenceEdges(cOptions);
}
/**
* return the set of all PARAM_CALLER and HEAP_PARAM_CALLER statements associated with a given call
*/
public Set<Statement> getCallerParamStatements(SSAAbstractInvokeInstruction call) throws IllegalArgumentException {
if (call == null) {
throw new IllegalArgumentException("call == null");
@ -151,6 +154,9 @@ public class PDG extends SlowSparseNumberedGraph<Statement> {
return callerParamStatements.get(call.getCallSite());
}
/**
* return the set of all NORMAL_RETURN_CALLER and HEAP_RETURN_CALLER statements associated with a given call.
*/
public Set<Statement> getCallerReturnStatements(SSAAbstractInvokeInstruction call) throws IllegalArgumentException {
if (call == null) {
throw new IllegalArgumentException("call == null");