diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index b24f6c851c8..25c37f6d1a8 100644 --- a/lib/CodeGen/RegAllocLinearScan.cpp +++ b/lib/CodeGen/RegAllocLinearScan.cpp @@ -735,7 +735,7 @@ void RA::addSpillCode(IntervalPtrs::value_type li, int slot) DEBUG(std::cerr << "\t\t\t\tadded store for reg" << li->reg << " to ss#" << slot << " after: \t\t" << LiveIntervals::getBaseIndex(index) << " \t"; - prior(mi,2)->print(std::cerr, *tm_)); + mi->print(std::cerr, *tm_)); } } }