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
This commit is contained in:
Chris Lattner
2001-10-23 01:53:22 +00:00
parent d48d6c74ad
commit 5855f0db2a
2 changed files with 74 additions and 33 deletions
+5
View File
@@ -80,6 +80,11 @@ void BytecodeWriter::outputType(const Type *T) {
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"