diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index c491d49a969..8be14ee6853 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -797,7 +797,7 @@ void LiveIntervals::addKillFlags() { } } - +#ifndef NDEBUG static bool intervalRangesSane(const LiveInterval& li) { if (li.empty()) { return true; @@ -814,6 +814,7 @@ static bool intervalRangesSane(const LiveInterval& li) { return true; } +#endif template static void handleMoveDefs(LiveIntervals& lis, SlotIndex origIdx, @@ -1145,4 +1146,3 @@ LiveRange LiveIntervals::addLiveRangeToEndOfBlock(unsigned reg, return LR; } -