forked from OSchip/llvm-project
[CodeGen] Remove usage of NDEBUG in header.
Moreover, this seems unused. llvm-svn: 251081
This commit is contained in:
parent
8826519e2a
commit
fbb958c24b
|
@ -114,11 +114,6 @@ public:
|
|||
/// MBB - The current insert position inside the current block.
|
||||
MachineBasicBlock::iterator InsertPt;
|
||||
|
||||
#ifndef NDEBUG
|
||||
SmallPtrSet<const Instruction *, 8> CatchInfoLost;
|
||||
SmallPtrSet<const Instruction *, 8> CatchInfoFound;
|
||||
#endif
|
||||
|
||||
struct LiveOutInfo {
|
||||
unsigned NumSignBits : 31;
|
||||
bool IsValid : 1;
|
||||
|
|
|
@ -341,16 +341,9 @@ void FunctionLoweringInfo::set(const Function &fn, MachineFunction &mf,
|
|||
/// FunctionLoweringInfo to an empty state, ready to be used for a
|
||||
/// different function.
|
||||
void FunctionLoweringInfo::clear() {
|
||||
assert(CatchInfoFound.size() == CatchInfoLost.size() &&
|
||||
"Not all catch info was assigned to a landing pad!");
|
||||
|
||||
MBBMap.clear();
|
||||
ValueMap.clear();
|
||||
StaticAllocaMap.clear();
|
||||
#ifndef NDEBUG
|
||||
CatchInfoLost.clear();
|
||||
CatchInfoFound.clear();
|
||||
#endif
|
||||
LiveOutRegInfo.clear();
|
||||
VisitedBBs.clear();
|
||||
ArgDbgValues.clear();
|
||||
|
|
Loading…
Reference in New Issue