As Alkis pointed out to me, I forgot to commit this... :(

llvm-svn: 11159
This commit is contained in:
Chris Lattner 2004-02-07 22:54:19 +00:00
parent 40862c7578
commit e37a472ef0
1 changed files with 4 additions and 0 deletions

View File

@ -152,6 +152,10 @@ public:
/// getForwardNode - This method returns the node that this node is forwarded
/// to, if any.
DSNode *getForwardNode() const { return ForwardNH.getNode(); }
/// isForwarding - Return true if this node is forwarding to another.
bool isForwarding() const { return !ForwardNH.isNull(); }
void stopForwarding() {
assert(!ForwardNH.isNull() &&
"Node isn't forwarding, cannot stopForwarding!");