From fcdab1b5f55d91815f4d58e68a3e96f0a79a56df Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 15 Jul 2004 02:40:04 +0000 Subject: Fix for PR341 llvm-svn: 14845 --- llvm/lib/Bytecode/Writer/ConstantWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bytecode/Writer/ConstantWriter.cpp') 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; -- cgit v1.2.3