aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DataStructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DataStructure.h')
-rw-r--r--include/llvm/Analysis/DataStructure.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DataStructure.h b/include/llvm/Analysis/DataStructure.h
index ae7b3571da..379ccfa913 100644
--- a/include/llvm/Analysis/DataStructure.h
+++ b/include/llvm/Analysis/DataStructure.h
@@ -1,4 +1,4 @@
-//===- DataStructure.h - Build a Module's call graph -------------*- C++ -*--=//
+//===- DataStructure.h - Build data structure graphs -------------*- C++ -*--=//
//
// Implement the LLVM data structure analysis library.
//
@@ -247,6 +247,10 @@ public:
assert(ArgNo < ArgLinks.size() && "Arg # out of range!");
return ArgLinks[ArgNo];
}
+ PointerValSet &getArgValues(unsigned ArgNo) {
+ assert(ArgNo < ArgLinks.size() && "Arg # out of range!");
+ return ArgLinks[ArgNo];
+ }
const std::vector<PointerValSet> &getArgs() const { return ArgLinks; }
virtual void dropAllReferences() {