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 | 5152b9ed34854c9c115dbaf15a4e901ce5e5b638 (patch) | |
| tree | 166328050d1b3c3571da1ea60103f9df82b852c0 /llvm/lib/Support/ConstantRange.cpp | |
| parent | 8582975b62e82ae43de09c0238542ac8c557e77e (diff) | |
| download | bcm5719-llvm-5152b9ed34854c9c115dbaf15a4e901ce5e5b638.tar.gz bcm5719-llvm-5152b9ed34854c9c115dbaf15a4e901ce5e5b638.zip | |
Adjust to new itf
llvm-svn: 12534
Diffstat (limited to 'llvm/lib/Support/ConstantRange.cpp')
| -rw-r--r-- | llvm/lib/Support/ConstantRange.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/ConstantRange.cpp b/llvm/lib/Support/ConstantRange.cpp index 0067e21f757..d07e4af8b27 100644 --- a/llvm/lib/Support/ConstantRange.cpp +++ b/llvm/lib/Support/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!"); |

