From d48d6c74ad40b3c9cca2897cd91894424edbbcf5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 23 Oct 2001 01:53:01 +0000 Subject: Fix another annoying bug that took forever to track down. This one involves abstract type resolution at a bad time that broke symbol tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@958 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/ConstantReader.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Bytecode/Reader/ConstantReader.cpp') diff --git a/lib/Bytecode/Reader/ConstantReader.cpp b/lib/Bytecode/Reader/ConstantReader.cpp index 6b69b361c1..13f8747cb7 100644 --- a/lib/Bytecode/Reader/ConstantReader.cpp +++ b/lib/Bytecode/Reader/ConstantReader.cpp @@ -87,6 +87,11 @@ const Type *BytecodeParser::parseTypeConstant(const uchar *&Buf, break; } + case Type::OpaqueTyID: { + Val = OpaqueType::get(); + break; + } + default: cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to deserialize" << " primitive Type " << PrimType << "\n"; -- cgit v1.2.3-18-g5258