mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
Here's a new one: GCC was complaining about an only-used-in-asserts
*function*. Wrap the function in #ifndef NDEBUG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8cf27efe40
commit
baffe7a6f3
@ -797,7 +797,7 @@ void LiveIntervals::addKillFlags() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
static bool intervalRangesSane(const LiveInterval& li) {
|
static bool intervalRangesSane(const LiveInterval& li) {
|
||||||
if (li.empty()) {
|
if (li.empty()) {
|
||||||
return true;
|
return true;
|
||||||
@ -814,6 +814,7 @@ static bool intervalRangesSane(const LiveInterval& li) {
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
template <typename DefSetT>
|
template <typename DefSetT>
|
||||||
static void handleMoveDefs(LiveIntervals& lis, SlotIndex origIdx,
|
static void handleMoveDefs(LiveIntervals& lis, SlotIndex origIdx,
|
||||||
@ -1145,4 +1146,3 @@ LiveRange LiveIntervals::addLiveRangeToEndOfBlock(unsigned reg,
|
|||||||
|
|
||||||
return LR;
|
return LR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user