add an accessor.

llvm-svn: 108408
This commit is contained in:
Chris Lattner 2010-07-15 05:14:01 +00:00
parent 8b3a17e613
commit 96748161c5
1 changed files with 4 additions and 0 deletions

View File

@ -266,6 +266,10 @@ public:
SubclassOptionalData &= V->SubclassOptionalData;
}
/// hasValueHandle - Return true if there is a value handle associated with
/// this value.
bool hasValueHandle() const { return HasValueHandle; }
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const Value *) {
return true; // Values are always values.