projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823cacc
)
Today is not my day. Fix broken #
author
Chris Lattner
<sabre@nondot.org>
Thu, 14 Oct 2004 02:31:35 +0000
(
02:31
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 14 Oct 2004 02:31:35 +0000
(
02:31
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16967
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Writer/Writer.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Writer/Writer.cpp
b/lib/Bytecode/Writer/Writer.cpp
index ce6d08a5c03699ed4b5be47f7577c062858c0699..18cd60be44ab8a19681b94b8e0620b044c0b3942 100644
(file)
--- 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 );