diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-20 06:41:12 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-20 06:41:12 +0000 |
commit | fa510c4af587799e3cd430006a5125bbe1374dd0 (patch) | |
tree | 2fd715f96b0db7bb74a7bda4ccc8bfb76e57d589 | |
parent | 38ce7e57d4eb43d7868f08d55a7b7343cc3eea8c (diff) | |
download | external_llvm-fa510c4af587799e3cd430006a5125bbe1374dd0.zip external_llvm-fa510c4af587799e3cd430006a5125bbe1374dd0.tar.gz external_llvm-fa510c4af587799e3cd430006a5125bbe1374dd0.tar.bz2 |
Fix crash in debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11659 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/RegAllocLinearScan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index b24f6c8..25c37f6 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_)); } } } |