diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-23 01:53:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-23 01:53:01 +0000 |
commit | d48d6c74ad40b3c9cca2897cd91894424edbbcf5 (patch) | |
tree | 5cd4a828d49de19241d8df8fef344614c533c753 /lib/Bytecode/Reader/ConstantReader.cpp | |
parent | 919b59a148a9cb863ccff3adfa2cc5160968b08d (diff) |
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
Diffstat (limited to 'lib/Bytecode/Reader/ConstantReader.cpp')
-rw-r--r-- | lib/Bytecode/Reader/ConstantReader.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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"; |