summaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-23 01:53:01 +0000
committerChris Lattner <sabre@nondot.org>2001-10-23 01:53:01 +0000
commitd48d6c74ad40b3c9cca2897cd91894424edbbcf5 (patch)
tree5cd4a828d49de19241d8df8fef344614c533c753 /lib/Bytecode
parent919b59a148a9cb863ccff3adfa2cc5160968b08d (diff)
downloadllvm-d48d6c74ad40b3c9cca2897cd91894424edbbcf5.tar.gz
llvm-d48d6c74ad40b3c9cca2897cd91894424edbbcf5.tar.bz2
llvm-d48d6c74ad40b3c9cca2897cd91894424edbbcf5.tar.xz
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')
-rw-r--r--lib/Bytecode/Reader/ConstantReader.cpp5
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";