diff options
author | Owen Anderson <resistor@mac.com> | 2010-08-07 06:01:13 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-08-07 06:01:13 +0000 |
commit | 0aede9e2a85e596f5444378e71f52b65e28b3d71 (patch) | |
tree | 2f1aa9be1bcdc8f8aaa601e40c3d7ff751f5d898 | |
parent | 9773e45a1e97f5098905bac26b8b8b7c844473f0 (diff) | |
download | external_llvm-0aede9e2a85e596f5444378e71f52b65e28b3d71.tar.gz external_llvm-0aede9e2a85e596f5444378e71f52b65e28b3d71.tar.bz2 external_llvm-0aede9e2a85e596f5444378e71f52b65e28b3d71.zip |
Remove layering violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110505 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/ConstantRange.h | 3 | ||||
-rw-r--r-- | lib/Support/ConstantRange.cpp | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Support/ConstantRange.h b/include/llvm/Support/ConstantRange.h index c3a6dd03fd..e32426130a 100644 --- a/include/llvm/Support/ConstantRange.h +++ b/include/llvm/Support/ConstantRange.h @@ -37,8 +37,6 @@ namespace llvm { -class ConstantInt; - /// ConstantRange - This class represents an range of values. /// class ConstantRange { @@ -54,7 +52,6 @@ public: /// Initialize a range to hold the single specified value. /// ConstantRange(const APInt &Value); - ConstantRange(const ConstantInt *Value); /// @brief Initialize a range of values explicitly. This will assert out if /// Lower==Upper and Lower != Min or Max value for its type. It will also diff --git a/lib/Support/ConstantRange.cpp b/lib/Support/ConstantRange.cpp index 26a23efe03..d4e91a95fb 100644 --- a/lib/Support/ConstantRange.cpp +++ b/lib/Support/ConstantRange.cpp @@ -40,8 +40,6 @@ ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) { /// Initialize a range to hold the single specified value. /// ConstantRange::ConstantRange(const APInt & V) : Lower(V), Upper(V + 1) {} -ConstantRange::ConstantRange(const ConstantInt *V) - : Lower(V->getValue()), Upper(V->getValue() + 1) {} ConstantRange::ConstantRange(const APInt &L, const APInt &U) : Lower(L), Upper(U) { |