Patches towards fixing PR341
[oota-llvm.git] / lib / Target / PowerPC / PowerPCISelSimple.cpp
index 10a19b55246c33605f283e3d1954486acc10e24c..6ce7f76ed4e3277f1bb4b968412fc23918e34160 100644 (file)
@@ -529,7 +529,7 @@ void ISel::copyConstantToRegister(MachineBasicBlock *MBB,
     unsigned AddrReg = getReg(CPR->getValue(), MBB, IP);
     BuildMI(*MBB, IP, PPC32::OR, 2, R).addReg(AddrReg).addReg(AddrReg);
   } else {
-    std::cerr << "Offending constant: " << C << "\n";
+    std::cerr << "Offending constant: " << *C << "\n";
     assert(0 && "Type not handled yet!");
   }
 }