[llvm-commits] CVS: llvm/include/llvm/Analysis/DSNode.h

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 28 16:57:00 PDT 2003


Changes in directory llvm/include/llvm/Analysis:

DSNode.h updated: 1.27 -> 1.28

---
Log message:

Add new 'isComplete' method


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DSNode.h
diff -u llvm/include/llvm/Analysis/DSNode.h:1.27 llvm/include/llvm/Analysis/DSNode.h:1.28
--- llvm/include/llvm/Analysis/DSNode.h:1.27	Sat Jun 21 22:04:58 2003
+++ llvm/include/llvm/Analysis/DSNode.h	Sat Jun 28 16:56:42 2003
@@ -248,6 +248,7 @@
   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; }





More information about the llvm-commits mailing list