diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-29 20:42:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-29 20:42:49 +0000 |
commit | db813954527c7bcd33916261fa5bc7e4525efe49 (patch) | |
tree | dd25834e6d5f840b0db71625c8c7c997394c2736 /lib/Analysis | |
parent | 62fe9b59c1b50883b027393a183ac468d4371781 (diff) | |
download | external_llvm-db813954527c7bcd33916261fa5bc7e4525efe49.zip external_llvm-db813954527c7bcd33916261fa5bc7e4525efe49.tar.gz external_llvm-db813954527c7bcd33916261fa5bc7e4525efe49.tar.bz2 |
Adjust to new itf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/ConstantRange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/ConstantRange.cpp b/lib/Analysis/ConstantRange.cpp index 0067e21..d07e4af 100644 --- a/lib/Analysis/ConstantRange.cpp +++ b/lib/Analysis/ConstantRange.cpp @@ -62,8 +62,8 @@ ConstantRange::ConstantRange(const Type *Ty, bool Full) { /// Lower==Upper and Lower != Min or Max for its type (or if the two constants /// have different types) /// -ConstantRange::ConstantRange(ConstantIntegral *L, - ConstantIntegral *U) : Lower(L), Upper(U) { +ConstantRange::ConstantRange(Constant *L, Constant *U) + : Lower(cast<ConstantIntegral>(L)), Upper(cast<ConstantIntegral>(U)) { assert(Lower->getType() == Upper->getType() && "Incompatible types for ConstantRange!"); |