mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Update code to eliminate calls to isInteger, calling isIntegral instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -225,7 +225,7 @@ bool ConstantRange::contains(ConstantInt *Val, bool isSigned) const {
|
||||
/// subtract - Subtract the specified constant from the endpoints of this
|
||||
/// constant range.
|
||||
ConstantRange ConstantRange::subtract(ConstantInt *CI) const {
|
||||
assert(CI->getType() == getType() && getType()->isInteger() &&
|
||||
assert(CI->getType() == getType() && getType()->isIntegral() &&
|
||||
"Cannot subtract from different type range or non-integer!");
|
||||
// If the set is empty or full, don't modify the endpoints.
|
||||
if (Lower == Upper) return *this;
|
||||
|
Reference in New Issue
Block a user