OSDN Git Service

Fixed call to wrong constructor.
authorLang Hames <lhames@gmail.com>
Tue, 17 Nov 2009 07:19:50 +0000 (07:19 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 17 Nov 2009 07:19:50 +0000 (07:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89059 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SlotIndexes.h

index 20d57e8..65d85fc 100644 (file)
@@ -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.