mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00:00
Today is not my day. Fix broken #
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
823cacc276
commit
f74acc7669
@ -896,7 +896,7 @@ void BytecodeWriter::outputModuleInfoBlock(const Module *M) {
|
|||||||
|
|
||||||
// Fields: bit0 = isConstant, bit1 = hasInitializer, bit2-4=Linkage,
|
// Fields: bit0 = isConstant, bit1 = hasInitializer, bit2-4=Linkage,
|
||||||
// bit5+ = Slot # for type
|
// bit5+ = Slot # for type
|
||||||
unsigned oSlot = ((unsigned)Slot << 6) | (getEncodedLinkage(I) << 2) |
|
unsigned oSlot = ((unsigned)Slot << 5) | (getEncodedLinkage(I) << 2) |
|
||||||
(I->hasInitializer() << 1) | (unsigned)I->isConstant();
|
(I->hasInitializer() << 1) | (unsigned)I->isConstant();
|
||||||
output_vbr(oSlot );
|
output_vbr(oSlot );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user