1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-25 00:35:30 +00:00

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11159 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-07 22:54:19 +00:00
parent a5ca28cafe
commit d1d2be3c16
2 changed files with 8 additions and 0 deletions
include/llvm/Analysis
DSNode.h
DataStructure

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

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