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 | ac1cab6e8e55b124e123106bffacb5eceac61533 (patch) | |
| tree | 2f1aa9be1bcdc8f8aaa601e40c3d7ff751f5d898 /lib | |
| parent | c9723388045268d8275883fd53997f7a48467112 (diff) | |
| download | external_llvm-ac1cab6e8e55b124e123106bffacb5eceac61533.zip external_llvm-ac1cab6e8e55b124e123106bffacb5eceac61533.tar.gz external_llvm-ac1cab6e8e55b124e123106bffacb5eceac61533.tar.bz2 | |
Remove layering violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Support/ConstantRange.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Support/ConstantRange.cpp b/lib/Support/ConstantRange.cpp index 26a23ef..d4e91a9 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) { |
