summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer
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
commit9a0e2546a0b7324ab6d177fd88a651c5cbc96806 (patch)
tree08ad868fecc1b581e7c7511f6c7124fd16a80538 /llvm/lib/Bytecode/Writer
parentbff972d453a128f478bc015126001f4a3b7736ce (diff)
downloadbcm5719-llvm-9a0e2546a0b7324ab6d177fd88a651c5cbc96806.tar.gz
bcm5719-llvm-9a0e2546a0b7324ab6d177fd88a651c5cbc96806.zip
Today is not my day. Fix broken #
llvm-svn: 16967
Diffstat (limited to 'llvm/lib/Bytecode/Writer')
-rw-r--r--llvm/lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp
index ce6d08a5c03..18cd60be44a 100644
--- a/llvm/lib/Bytecode/Writer/Writer.cpp
+++ b/llvm/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 );
OpenPOWER on IntegriCloud