1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-07 16:42:07 +00:00

Add an accessor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-03-30 04:02:41 +00:00
parent 4c7f3dfeaa
commit 5cddb2f0f8
2 changed files with 10 additions and 2 deletions
include/llvm/Analysis

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

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