1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00

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 ce838bfae6
commit 6337300b83

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!");