commit | 5855f0db2a89999746606f19d893a18e60139b2f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Oct 23 01:53:22 2001 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Oct 23 01:53:22 2001 +0000 |
tree | ac146dd07c1c2deeaf53b85368cf4b0d41e2040f | |
parent | d48d6c74ad40b3c9cca2897cd91894424edbbcf5 [diff] [blame] |
Allow unresolved/opaque types to be read and written to bytecode files git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@959 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Writer/ConstantWriter.cpp b/lib/Bytecode/Writer/ConstantWriter.cpp index 4400290..8beb132 100644 --- a/lib/Bytecode/Writer/ConstantWriter.cpp +++ b/lib/Bytecode/Writer/ConstantWriter.cpp
@@ -80,6 +80,11 @@ break; } + case Type::OpaqueTyID: { + // No need to emit anything, just the count of opaque types is enough. + break; + } + //case Type::PackedTyID: default: cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize"