Minor debug output bug.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 12 Mar 2008 00:02:46 +0000 (00:02 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 12 Mar 2008 00:02:46 +0000 (00:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48261 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/VirtRegMap.cpp

index 3b6612de4ff878a1560cf5e019ebc75fd2e811cf..cabc6badd8a5e0394abe860e6d736e76c59564e6 100644 (file)
@@ -1125,7 +1125,7 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, VirtRegMap &VRM) {
         TII->storeRegToStackSlot(MBB, next(MII), Phys, isKill, StackSlot, RC);
         MachineInstr *StoreMI = next(MII);
         VRM.addSpillSlotUse(StackSlot, StoreMI);
-        DOUT << "Store:\t" << StoreMI;
+        DOUT << "Store:\t" << *StoreMI;
         VRM.virtFolded(VirtReg, StoreMI, VirtRegMap::isMod);
       }
       NextMII = next(MII);