mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Remove a condition that can never be true, as wittnessed by the assert
above. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6ea7f36872
commit
ee8b879822
@ -1239,9 +1239,8 @@ DwarfDebug::buildLocationList(SmallVectorImpl<DebugLocEntry> &DebugLoc,
|
||||
assert(Begin->isDebugValue() && "Invalid History entry");
|
||||
|
||||
// Check if a variable is inaccessible in this range.
|
||||
if (!Begin->isDebugValue() ||
|
||||
(Begin->getNumOperands() > 1 && Begin->getOperand(0).isReg() &&
|
||||
!Begin->getOperand(0).getReg())) {
|
||||
if (Begin->getNumOperands() > 1 &&
|
||||
Begin->getOperand(0).isReg() && !Begin->getOperand(0).getReg()) {
|
||||
OpenRanges.clear();
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user