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

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 18 15:46:01 PST 2002


Changes in directory llvm/include/llvm/Analysis:

DSSupport.h updated: 1.7 -> 1.8

---
Log message:

Inline DSTypeRec into DSNode


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DSSupport.h
diff -u llvm/include/llvm/Analysis/DSSupport.h:1.7 llvm/include/llvm/Analysis/DSSupport.h:1.8
--- llvm/include/llvm/Analysis/DSSupport.h:1.7	Sun Nov 10 17:46:51 2002
+++ llvm/include/llvm/Analysis/DSSupport.h	Mon Nov 18 15:45:07 2002
@@ -20,7 +20,6 @@
 
 class DSNode;                  // Each node in the graph
 class DSGraph;                 // A graph for a function
-class DSNodeIterator;          // Data structure graph traversal iterator
 
 namespace DS { // FIXME: After the paper, this should get cleaned up
   enum { PointerShift = 3,     // 64bit ptrs = 3, 32 bit ptrs = 2
@@ -98,20 +97,6 @@
 };
 
 inline void swap(DSNodeHandle &NH1, DSNodeHandle &NH2) { NH1.swap(NH2); }
-
-//===----------------------------------------------------------------------===//
-/// DSTypeRec - This structure is used to represent a single type that is held
-/// in a DSNode.
-///
-struct DSTypeRec {
-  const Type *Ty;                 // The type itself...
-  bool isArray;                   // Have we accessed an array of elements?
-  
-  DSTypeRec(const Type *T = 0, bool A = false)
-    : Ty(T), isArray(A) {}
-};
-
-
 
 //===----------------------------------------------------------------------===//
 /// DSCallSite - Representation of a call site via its call instruction,





More information about the llvm-commits mailing list