Change MachineBasicBlock's vector of MachineInstr pointers into an
[oota-llvm.git] / lib / Target / SparcV9 / SparcV9AsmPrinter.cpp
index af86e05a9050b8679873760c0d61a9d8b07f7518..20fbfa3619c2d90ec3d6163af87bba5b371206a0 100644 (file)
@@ -721,7 +721,7 @@ void SparcAsmPrinter::emitBasicBlock(const MachineBasicBlock &MBB) {
   // Loop over all of the instructions in the basic block...
   for (MachineBasicBlock::const_iterator MII = MBB.begin(), MIE = MBB.end();
        MII != MIE; ++MII)
-    emitMachineInst(*MII);
+    emitMachineInst(MII);
   toAsm << "\n";  // Separate BB's with newlines
 }