implement reading of abbrevs, and writing of abbreviated global varrs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2007-04-23 18:58:34 +00:00
parent aea2012433
commit d127c1b5f3
2 changed files with 13 additions and 6 deletions

View File

@ -94,7 +94,8 @@ bool BitcodeReader::ParseTypeTable(BitstreamReader &Stream) {
}
if (Code == bitc::DEFINE_ABBREV) {
assert(0 && "Abbrevs not implemented yet!");
Stream.ReadAbbrevRecord();
continue;
}
// Read a record.
@ -231,7 +232,8 @@ bool BitcodeReader::ParseTypeSymbolTable(BitstreamReader &Stream) {
}
if (Code == bitc::DEFINE_ABBREV) {
assert(0 && "Abbrevs not implemented yet!");
Stream.ReadAbbrevRecord();
continue;
}
// Read a record.
@ -294,7 +296,8 @@ bool BitcodeReader::ParseModule(BitstreamReader &Stream,
}
if (Code == bitc::DEFINE_ABBREV) {
assert(0 && "Abbrevs not implemented yet!");
Stream.ReadAbbrevRecord();
continue;
}
// Read a record.