summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ConstantRange.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-08-07 06:01:13 +0000
committerOwen Anderson <resistor@mac.com>2010-08-07 06:01:13 +0000
commita5a3ff586f1be7b9edc51ce4ee0ba03c9be300da (patch)
tree461a6ab3c44716212d412deebfd505e4ccd55b28 /llvm/lib/Support/ConstantRange.cpp
parent1a9078b86217953dc478d5df8cb35d34284523d8 (diff)
downloadbcm5719-llvm-a5a3ff586f1be7b9edc51ce4ee0ba03c9be300da.tar.gz
bcm5719-llvm-a5a3ff586f1be7b9edc51ce4ee0ba03c9be300da.zip
Remove layering violation.
llvm-svn: 110505
Diffstat (limited to 'llvm/lib/Support/ConstantRange.cpp')
-rw-r--r--llvm/lib/Support/ConstantRange.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/ConstantRange.cpp b/llvm/lib/Support/ConstantRange.cpp
index 26a23efe031..d4e91a95fb5 100644
--- a/llvm/lib/Support/ConstantRange.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud