diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-28 21:56:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-28 21:56:42 +0000 |
commit | 2769e6ca92332224eef7dcae8bd4d8fe804578ec (patch) | |
tree | 4fc5b88a657f3b1fa95654831266e9d16a9bf9b9 /include/llvm/Analysis/DataStructure/DSNode.h | |
parent | 607411bfbb6a6e2a5def32066722e6a655dfe01d (diff) |
Add new 'isComplete' method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/DataStructure/DSNode.h')
-rw-r--r-- | include/llvm/Analysis/DataStructure/DSNode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DataStructure/DSNode.h b/include/llvm/Analysis/DataStructure/DSNode.h index 6d2383025d..7d91918dba 100644 --- a/include/llvm/Analysis/DataStructure/DSNode.h +++ b/include/llvm/Analysis/DataStructure/DSNode.h @@ -248,6 +248,7 @@ public: bool isRead() const { return NodeType & Read; } bool isIncomplete() const { return NodeType & Incomplete; } + bool isComplete() const { return !isIncomplete(); } bool isDeadNode() const { return NodeType & DEAD; } DSNode *setAllocaNodeMarker() { NodeType |= AllocaNode; return this; } |