mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 20:05:38 +00:00
Fix -Asserts warning.
llvm-svn: 99895
This commit is contained in:
parent
63f8158cff
commit
c457891855
@ -303,7 +303,6 @@ void LiveInterval::removeRange(SlotIndex Start, SlotIndex End,
|
||||
// otherwise mark it as ~1U so it can be nuked later.
|
||||
if (ValNo->id == getNumValNums()-1) {
|
||||
do {
|
||||
VNInfo *VNI = valnos.back();
|
||||
valnos.pop_back();
|
||||
} while (!valnos.empty() && valnos.back()->isUnused());
|
||||
} else {
|
||||
@ -350,7 +349,6 @@ void LiveInterval::removeValNo(VNInfo *ValNo) {
|
||||
// otherwise mark it as ~1U so it can be nuked later.
|
||||
if (ValNo->id == getNumValNums()-1) {
|
||||
do {
|
||||
VNInfo *VNI = valnos.back();
|
||||
valnos.pop_back();
|
||||
} while (!valnos.empty() && valnos.back()->isUnused());
|
||||
} else {
|
||||
@ -577,7 +575,6 @@ void LiveInterval::MergeValueInAsValue(
|
||||
// mark it as ~1U so it can be nuked later.
|
||||
if (V1->id == getNumValNums()-1) {
|
||||
do {
|
||||
VNInfo *VNI = valnos.back();
|
||||
valnos.pop_back();
|
||||
} while (!valnos.empty() && valnos.back()->isUnused());
|
||||
} else {
|
||||
@ -745,7 +742,6 @@ VNInfo* LiveInterval::MergeValueNumberInto(VNInfo *V1, VNInfo *V2) {
|
||||
// ~1U so it can be nuked later.
|
||||
if (V1->id == getNumValNums()-1) {
|
||||
do {
|
||||
VNInfo *VNI = valnos.back();
|
||||
valnos.pop_back();
|
||||
} while (valnos.back()->isUnused());
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user