[llvm-commits] [llvm] r89059 - /llvm/trunk/include/llvm/CodeGen/SlotIndexes.h

Lang Hames lhames at gmail.com
Mon Nov 16 23:19:51 PST 2009


Author: lhames
Date: Tue Nov 17 01:19:50 2009
New Revision: 89059

URL: http://llvm.org/viewvc/llvm-project?rev=89059&view=rev
Log:
Fixed call to wrong constructor.

Modified:
    llvm/trunk/include/llvm/CodeGen/SlotIndexes.h

Modified: llvm/trunk/include/llvm/CodeGen/SlotIndexes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SlotIndexes.h?rev=89059&r1=89058&r2=89059&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SlotIndexes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SlotIndexes.h Tue Nov 17 01:19:50 2009
@@ -699,7 +699,7 @@
       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.





More information about the llvm-commits mailing list