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:
277973b
)
Wrap long line.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Sat, 12 Nov 2005 01:01:50 +0000
(
01:01
+0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Sat, 12 Nov 2005 01:01:50 +0000
(
01:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24320
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 0441acbdca21137f2463258ee87283fa3f7cb050..2bfe915b4bbd0c0e75232e8fbb93e8719aa2f609 100644
(file)
--- a/
lib/Bytecode/Writer/Writer.cpp
+++ b/
lib/Bytecode/Writer/Writer.cpp
@@
-948,7
+948,8
@@
void BytecodeWriter::outputModuleInfoBlock(const Module *M) {
// The extension word has this format: bit 0 = has initializer, bit 1-3 =
// linkage, bit 4-8 = alignment (log2), bits 10+ = future use.
- unsigned ExtWord = (unsigned)I->hasInitializer() | (getEncodedLinkage(I) << 1) |
+ unsigned ExtWord = (unsigned)I->hasInitializer() |
+ (getEncodedLinkage(I) << 1) |
((Log2_32(I->getAlignment())+1) << 4);
output_vbr(ExtWord);
}