summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-18 04:56:53 +0000
committerChris Lattner <sabre@nondot.org>2009-06-18 04:56:53 +0000
commit8527e674ce474c2927742042422ed5743b3f4101 (patch)
tree6bbd17c7c42a7992a03d2bc163b87b0d7cc2016c
parent6eb4a73633cad8ff4472ce43d26e68a28d8f4196 (diff)
downloadbcm5719-llvm-8527e674ce474c2927742042422ed5743b3f4101.tar.gz
bcm5719-llvm-8527e674ce474c2927742042422ed5743b3f4101.zip
Don't use int8_t, that requires DataTypes.h
llvm-svn: 73682
-rw-r--r--llvm/include/llvm/CodeGen/LiveInterval.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h
index 3e9089ed115..a52919d313d 100644
--- a/llvm/include/llvm/CodeGen/LiveInterval.h
+++ b/llvm/include/llvm/CodeGen/LiveInterval.h
@@ -23,7 +23,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Allocator.h"
-#include "llvm/Support/DataTypes.h"
#include <iosfwd>
#include <cassert>
#include <climits>
@@ -52,13 +51,15 @@ namespace llvm {
class VNInfo {
private:
- static const uint8_t HAS_PHI_KILL = 1,
- REDEF_BY_EC = 1 << 1,
- IS_PHI_DEF = 1 << 2,
- IS_UNUSED = 1 << 3,
- IS_DEF_ACCURATE = 1 << 4;
+ enum {
+ HAS_PHI_KILL = 1,
+ REDEF_BY_EC = 1 << 1,
+ IS_PHI_DEF = 1 << 2,
+ IS_UNUSED = 1 << 3,
+ IS_DEF_ACCURATE = 1 << 4
+ };
- uint8_t flags;
+ unsigned char flags;
public:
/// The ID number of this value.
OpenPOWER on IntegriCloud