diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-15 02:14:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-15 02:14:30 +0000 |
commit | 76e2df264560b6c5aae1b820a6ccfdf0615bb935 (patch) | |
tree | 97e59b5730a5df328a2071e0188c0526f39a3926 /lib/Target/X86/InstSelectSimple.cpp | |
parent | 30b434476796cd4a85c02914687d22f2e5ec95ca (diff) |
Patches towards fixing PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 68a602b314..06165e9f6e 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -507,7 +507,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"); } } @@ -557,7 +557,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!"); } } |