[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp
Jeff Cohen
jeffc at jolt-lang.org
Fri Nov 11 17:02:02 PST 2005
Changes in directory llvm/lib/Bytecode/Writer:
Writer.cpp updated: 1.113 -> 1.114
---
Log message:
Wrap long line.
---
Diffs of the changes: (+2 -1)
Writer.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Bytecode/Writer/Writer.cpp
diff -u llvm/lib/Bytecode/Writer/Writer.cpp:1.113 llvm/lib/Bytecode/Writer/Writer.cpp:1.114
--- llvm/lib/Bytecode/Writer/Writer.cpp:1.113 Fri Nov 11 18:59:39 2005
+++ llvm/lib/Bytecode/Writer/Writer.cpp Fri Nov 11 19:01:50 2005
@@ -948,7 +948,8 @@
// 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);
}
More information about the llvm-commits
mailing list