[llvm-commits] [poolalloc] r49840 - /poolalloc/branches/SVA/include/dsa/DSNode.h

John Criswell criswell at uiuc.edu
Wed Apr 16 19:43:56 PDT 2008


Author: criswell
Date: Wed Apr 16 21:43:56 2008
New Revision: 49840

URL: http://llvm.org/viewvc/llvm-project?rev=49840&view=rev
Log:
Test for the correct flag in isIONode() method.

Modified:
    poolalloc/branches/SVA/include/dsa/DSNode.h

Modified: poolalloc/branches/SVA/include/dsa/DSNode.h
URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/SVA/include/dsa/DSNode.h?rev=49840&r1=49839&r2=49840&view=diff

==============================================================================
--- poolalloc/branches/SVA/include/dsa/DSNode.h (original)
+++ poolalloc/branches/SVA/include/dsa/DSNode.h Wed Apr 16 21:43:56 2008
@@ -420,7 +420,7 @@
   bool isComplete() const   { return !isIncomplete(); }
   bool isDeadNode() const   { return NodeType & DEAD; }
   bool isExternalNode() const { return NodeType & External; }
-  bool isIONode() const { return IONode & External; }
+  bool isIONode() const       { return NodeType & IONode; }
 
   DSNode *setAllocaNodeMarker()  { NodeType |= AllocaNode;  return this; }
   DSNode *setHeapNodeMarker()    { NodeType |= HeapNode;    return this; }





More information about the llvm-commits mailing list