aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-11-17 07:19:50 +0000
committerLang Hames <lhames@gmail.com>2009-11-17 07:19:50 +0000
commitd06c8c5777c8bda4fac5bebc55324fe5fd7bc6dd (patch)
treee3608932fcf01b198e3ce749f2a7ac97c5e3a17f
parent6171d2bb7ed78f04b91d05998ceef80c86fdbedd (diff)
downloadexternal_llvm-d06c8c5777c8bda4fac5bebc55324fe5fd7bc6dd.tar.gz
external_llvm-d06c8c5777c8bda4fac5bebc55324fe5fd7bc6dd.tar.bz2
external_llvm-d06c8c5777c8bda4fac5bebc55324fe5fd7bc6dd.zip
Fixed call to wrong constructor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89059 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h
index 20d57e8b1d..65d85fcb31 100644
--- a/include/llvm/CodeGen/SlotIndexes.h
+++ b/include/llvm/CodeGen/SlotIndexes.h
@@ -699,7 +699,7 @@ namespace llvm {
if (miItr == mbb->end()) {
// If this is the last instr in the MBB then we need to fix up the bb
// range:
- mbbRangeItr->second.second = SlotIndex(newIndex, SlotIndex::STORE);
+ mbbRangeItr->second.second = SlotIndex(newEntry, SlotIndex::STORE);
}
// Renumber if we need to.