mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Discard code that supported old bytecode formats. This makes the Bytecode
Reader code much easier to read and maintain. Backwards compatibility from version 5 format has been retained. Older formats will produce an error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31723 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -532,7 +532,7 @@ public:
|
||||
assert(BType >= BytecodeFormat::ModuleBlockID);
|
||||
assert(BType < BytecodeFormat::NumberOfBlockIDs);
|
||||
bca.BlockSizes[
|
||||
llvm::BytecodeFormat::CompressedBytecodeBlockIdentifiers(BType)] += Size;
|
||||
llvm::BytecodeFormat::BytecodeBlockIdentifiers(BType)] += Size;
|
||||
|
||||
if (bca.version < 3) // Check for long block headers versions
|
||||
bca.BlockSizes[llvm::BytecodeFormat::Reserved_DoNotUse] += 8;
|
||||
|
Reference in New Issue
Block a user