From ff1b61f2d3b6bb91d374698a3a97167ec54e1712 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Tue, 17 Nov 2009 07:19:50 +0000 Subject: [PATCH] Fixed call to wrong constructor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89059 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SlotIndexes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/SlotIndexes.h b/include/llvm/CodeGen/SlotIndexes.h index 20d57e8b1da..65d85fcb313 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.