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

Chris Lattner lattner at cs.uiuc.edu
Wed Dec 11 23:32:00 PST 2002


Changes in directory llvm/include/llvm/Analysis:

DependenceGraph.h updated: 1.1 -> 1.2

---
Log message:

Make a release build compile.  This field is not really an enum, it's really a bitfield


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DependenceGraph.h
diff -u llvm/include/llvm/Analysis/DependenceGraph.h:1.1 llvm/include/llvm/Analysis/DependenceGraph.h:1.2
--- llvm/include/llvm/Analysis/DependenceGraph.h:1.1	Sun Dec  8 07:26:04 2002
+++ llvm/include/llvm/Analysis/DependenceGraph.h	Wed Dec 11 23:31:26 2002
@@ -59,7 +59,7 @@
 
 class Dependence {
   DepGraphNode*   toOrFromNode;
-  DependenceType  depType:8;
+  unsigned char  depType;
 
 public:
   /*ctor*/      Dependence      (DepGraphNode* toOrFromN,
@@ -78,7 +78,7 @@
 
   /// Get information about the type of dependence.
   /// 
-  DependenceType  getDepType() {
+  unsigned getDepType() const {
     return depType;
   }
 





More information about the llvm-commits mailing list