diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-18 04:56:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-18 04:56:53 +0000 |
commit | b7b39987bb1f9acc4cc0efe0f4c2d1ee5e2c9148 (patch) | |
tree | d0dbad4da2c88b3296d3f577fb9f32f57cc3daca | |
parent | 6904858ab3d2615ec84b0e98c5aa4a228d9edafb (diff) |
Don't use int8_t, that requires DataTypes.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73682 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 3e9089ed11..a52919d313 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/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. |