summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-11-12 01:01:50 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-11-12 01:01:50 +0000
commit045f096b180edc7826c0e63c95e27c1ac51badb2 (patch)
tree52399c471b1d7b75d37cdbf7f6a832cf0e8a7ef3 /llvm/lib/Bytecode
parent93b3d8f415f607ff15ae5935a2a36b3919d47a27 (diff)
downloadbcm5719-llvm-045f096b180edc7826c0e63c95e27c1ac51badb2.tar.gz
bcm5719-llvm-045f096b180edc7826c0e63c95e27c1ac51badb2.zip
Wrap long line.
llvm-svn: 24320
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r--llvm/lib/Bytecode/Writer/Writer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp
index 0441acbdca2..2bfe915b4bb 100644
--- a/llvm/lib/Bytecode/Writer/Writer.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud