From 48770eb61fc0d67732f14175f4a4f32d330b141f 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. llvm-svn: 89059 --- llvm/include/llvm/CodeGen/SlotIndexes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/SlotIndexes.h b/llvm/include/llvm/CodeGen/SlotIndexes.h index 20d57e8b1da2..65d85fcb313a 100644 --- a/llvm/include/llvm/CodeGen/SlotIndexes.h +++ b/llvm/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.