mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Fixed switch in IntRange::isSingleNumber method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac03af4ea9
commit
7c3a65c7ed
@ -210,7 +210,7 @@ public:
|
||||
return true;
|
||||
case RANGE:
|
||||
return false;
|
||||
default: // UNKNOWN
|
||||
case UNKNOWN:
|
||||
if (Low == High) {
|
||||
const_cast<Type&>(RangeType) = SINGLE_NUMBER;
|
||||
return true;
|
||||
@ -218,6 +218,8 @@ public:
|
||||
const_cast<Type&>(RangeType) = RANGE;
|
||||
return false;
|
||||
}
|
||||
assert(!"Unknown state?!");
|
||||
return false;
|
||||
}
|
||||
|
||||
const IntType& getLow() const {
|
||||
|
Loading…
Reference in New Issue
Block a user