summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/InstSelectSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-15 02:14:30 +0000
committerChris Lattner <sabre@nondot.org>2004-07-15 02:14:30 +0000
commit7dc9de5f43164ecb3e7362e024d7ba2c0c8eeb45 (patch)
tree7eb2d84ddc6155f39978c5de63d322d4a01d5707 /llvm/lib/Target/X86/InstSelectSimple.cpp
parent32c518e526f457f8a75f27cc4d8f1f50215bc2bf (diff)
downloadbcm5719-llvm-7dc9de5f43164ecb3e7362e024d7ba2c0c8eeb45.tar.gz
bcm5719-llvm-7dc9de5f43164ecb3e7362e024d7ba2c0c8eeb45.zip
Patches towards fixing PR341
llvm-svn: 14841
Diffstat (limited to 'llvm/lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 68a602b3143..06165e9f6e1 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/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!");
}
}
OpenPOWER on IntegriCloud