mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Revert "Verify sizes when trying to read a VBR"
This reverts r234984 since it seems to break some bots (most of them seemed arm*-selfhost). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -62,8 +62,6 @@ static uint64_t readAbbreviatedField(BitstreamCursor &Cursor,
|
||||
case BitCodeAbbrevOp::Fixed:
|
||||
return Cursor.Read((unsigned)Op.getEncodingData());
|
||||
case BitCodeAbbrevOp::VBR:
|
||||
if ((unsigned)Op.getEncodingData() > 64)
|
||||
report_fatal_error("Invalid record");
|
||||
return Cursor.ReadVBR64((unsigned)Op.getEncodingData());
|
||||
case BitCodeAbbrevOp::Char6:
|
||||
return BitCodeAbbrevOp::DecodeChar6(Cursor.Read(6));
|
||||
|
Reference in New Issue
Block a user