1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Silence "unused variable" warning in LiveIntervals.cpp after r335607

llvm-svn: 335610
This commit is contained in:
Krzysztof Parzyszek 2018-06-26 14:55:04 +00:00
parent 801d9a089b
commit 974db97095

View File

@ -421,6 +421,7 @@ void LiveIntervals::extendSegmentsToUses(LiveRange &Segments,
SlotIndex Stop = Indexes->getMBBEndIdx(Pred);
if (VNInfo *OldVNI = OldRange.getVNInfoBefore(Stop)) {
assert(OldVNI == VNI && "Wrong value out of predecessor");
(void)OldVNI;
WorkList.push_back(std::make_pair(Stop, VNI));
} else {
#ifndef NDEBUG