summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-15 02:40:04 +0000
committerChris Lattner <sabre@nondot.org>2004-07-15 02:40:04 +0000
commitfcdab1b5f55d91815f4d58e68a3e96f0a79a56df (patch)
tree48fb28c3c83f9ebb2c45c325cf2b261ac9e0f777 /llvm/lib/Bytecode/Writer/ConstantWriter.cpp
parentc9819f09c26d6072a283789d4b4ced835333b83e (diff)
downloadbcm5719-llvm-fcdab1b5f55d91815f4d58e68a3e96f0a79a56df.tar.gz
bcm5719-llvm-fcdab1b5f55d91815f4d58e68a3e96f0a79a56df.zip
Fix for PR341
llvm-svn: 14845
Diffstat (limited to 'llvm/lib/Bytecode/Writer/ConstantWriter.cpp')
-rw-r--r--llvm/lib/Bytecode/Writer/ConstantWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
index 8ea192b0a82..7aa8febda3e 100644
--- a/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/llvm/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -189,7 +189,7 @@ void BytecodeWriter::outputConstant(const Constant *CPV) {
case Type::LabelTyID:
default:
std::cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize"
- << " type '" << CPV->getType() << "'\n";
+ << " type '" << *CPV->getType() << "'\n";
break;
}
return;
OpenPOWER on IntegriCloud