mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-03 02:08:54 +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,
|
||||
// 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();
|
||||
output_vbr(oSlot );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user