aboutsummaryrefslogtreecommitdiff
path: root/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
commitf51c7f56caea364e4ad7adecff0413dc74686bb3 (patch)
treeeb92afc262728fac3596a87bbd63947657a2b716 /lib/Bytecode/Writer/ConstantWriter.cpp
parent017fdcb76def65c32083fa7e2e4cb1f69b77eed0 (diff)
Fix for PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/ConstantWriter.cpp')
-rw-r--r--lib/Bytecode/Writer/ConstantWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/ConstantWriter.cpp b/lib/Bytecode/Writer/ConstantWriter.cpp
index 8ea192b0a8..7aa8febda3 100644
--- a/lib/Bytecode/Writer/ConstantWriter.cpp
+++ b/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;