diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86SimpInstrSelector.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86SimpInstrSelector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86SimpInstrSelector.cpp b/llvm/lib/Target/X86/X86SimpInstrSelector.cpp index e310d04b3b4..9fd487374d8 100644 --- a/llvm/lib/Target/X86/X86SimpInstrSelector.cpp +++ b/llvm/lib/Target/X86/X86SimpInstrSelector.cpp @@ -433,7 +433,7 @@ void ISel::copyConstantToRegister(MachineBasicBlock *MBB, return; default: - std::cerr << "Offending expr: " << C << "\n"; + std::cerr << "Offending expr: " << *C << "\n"; assert(0 && "Constant expression not yet handled!\n"); } } @@ -483,7 +483,7 @@ void ISel::copyConstantToRegister(MachineBasicBlock *MBB, } else if (ConstantPointerRef *CPR = dyn_cast<ConstantPointerRef>(C)) { BuildMI(*MBB, IP, X86::MOV32ri, 1, R).addGlobalAddress(CPR->getValue()); } else { - std::cerr << "Offending constant: " << C << "\n"; + std::cerr << "Offending constant: " << *C << "\n"; assert(0 && "Type not handled yet!"); } } |

