aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-14 02:31:35 +0000
committerChris Lattner <sabre@nondot.org>2004-10-14 02:31:35 +0000
commitf74acc7669a585f83ee2f4f51a89a7bf59f085a0 (patch)
treee663afccdfe7eab33ed9832a17aeeac128b6dc78 /lib
parent823cacc276ea8e484e22f3b68c8fe620edcfb69c (diff)
downloadexternal_llvm-f74acc7669a585f83ee2f4f51a89a7bf59f085a0.zip
external_llvm-f74acc7669a585f83ee2f4f51a89a7bf59f085a0.tar.gz
external_llvm-f74acc7669a585f83ee2f4f51a89a7bf59f085a0.tar.bz2
Today is not my day. Fix broken #
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index ce6d08a..18cd60b 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -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 );