aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-12 05:31:26 +0000
committerChris Lattner <sabre@nondot.org>2002-12-12 05:31:26 +0000
commitc2799163e2d8bb6a1d2c93ab4f0911da75b87ad4 (patch)
treed09ef8740b1a34eefbf1e261c0f4ff73558ddaae /include/llvm/Analysis
parent6a4a4cd8375d669aa46d8cf2a7003848539ca339 (diff)
downloadexternal_llvm-c2799163e2d8bb6a1d2c93ab4f0911da75b87ad4.zip
external_llvm-c2799163e2d8bb6a1d2c93ab4f0911da75b87ad4.tar.gz
external_llvm-c2799163e2d8bb6a1d2c93ab4f0911da75b87ad4.tar.bz2
Make a release build compile. This field is not really an enum, it's really a bitfield
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-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 9c803f0..d2f3ad5 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;
}