mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 07:24:25 +00:00
Adjust to new itf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12534 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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
|
/// Lower==Upper and Lower != Min or Max for its type (or if the two constants
|
||||||
/// have different types)
|
/// have different types)
|
||||||
///
|
///
|
||||||
ConstantRange::ConstantRange(ConstantIntegral *L,
|
ConstantRange::ConstantRange(Constant *L, Constant *U)
|
||||||
ConstantIntegral *U) : Lower(L), Upper(U) {
|
: Lower(cast<ConstantIntegral>(L)), Upper(cast<ConstantIntegral>(U)) {
|
||||||
assert(Lower->getType() == Upper->getType() &&
|
assert(Lower->getType() == Upper->getType() &&
|
||||||
"Incompatible types for ConstantRange!");
|
"Incompatible types for ConstantRange!");
|
||||||
|
|
||||||
|
@ -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
|
/// Lower==Upper and Lower != Min or Max for its type (or if the two constants
|
||||||
/// have different types)
|
/// have different types)
|
||||||
///
|
///
|
||||||
ConstantRange::ConstantRange(ConstantIntegral *L,
|
ConstantRange::ConstantRange(Constant *L, Constant *U)
|
||||||
ConstantIntegral *U) : Lower(L), Upper(U) {
|
: Lower(cast<ConstantIntegral>(L)), Upper(cast<ConstantIntegral>(U)) {
|
||||||
assert(Lower->getType() == Upper->getType() &&
|
assert(Lower->getType() == Upper->getType() &&
|
||||||
"Incompatible types for ConstantRange!");
|
"Incompatible types for ConstantRange!");
|
||||||
|
|
||||||
|
@ -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
|
/// Lower==Upper and Lower != Min or Max for its type (or if the two constants
|
||||||
/// have different types)
|
/// have different types)
|
||||||
///
|
///
|
||||||
ConstantRange::ConstantRange(ConstantIntegral *L,
|
ConstantRange::ConstantRange(Constant *L, Constant *U)
|
||||||
ConstantIntegral *U) : Lower(L), Upper(U) {
|
: Lower(cast<ConstantIntegral>(L)), Upper(cast<ConstantIntegral>(U)) {
|
||||||
assert(Lower->getType() == Upper->getType() &&
|
assert(Lower->getType() == Upper->getType() &&
|
||||||
"Incompatible types for ConstantRange!");
|
"Incompatible types for ConstantRange!");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user