aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/DependenceGraph.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/DependenceGraph.h b/include/llvm/Analysis/DependenceGraph.h
index 9c803f0a11..d2f3ad5014 100644
--- a/include/llvm/Analysis/DependenceGraph.h
+++ b/include/llvm/Analysis/DependenceGraph.h
@@ -59,7 +59,7 @@ typedef short DependenceLevel; // 0 means global level outside loops
class Dependence {
DepGraphNode* toOrFromNode;
- DependenceType depType:8;
+ unsigned char depType;
public:
/*ctor*/ Dependence (DepGraphNode* toOrFromN,
@@ -78,7 +78,7 @@ public:
/// Get information about the type of dependence.
///
- DependenceType getDepType() {
+ unsigned getDepType() const {
return depType;
}