diff options
author | Dale Johannesen <dalej@apple.com> | 2008-05-15 20:49:28 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-05-15 20:49:28 +0000 |
commit | 6ef726a06690c96f647d07510fc3eddd27b260b0 (patch) | |
tree | 7e9c318acf0b481cf441d13f2ea514be504044e9 /llvm/lib/Bitcode/Writer | |
parent | f79f52282c03ac0aadb94132973ba03ac942699a (diff) | |
download | bcm5719-llvm-6ef726a06690c96f647d07510fc3eddd27b260b0.tar.gz bcm5719-llvm-6ef726a06690c96f647d07510fc3eddd27b260b0.zip |
Allow an extra bit for CommonLinkage.
This changes the .bc file format, but if I understand
how it works correctly, old .bc files continue to
be readable.
llvm-svn: 51161
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r-- | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 8e9a395ab6f..ad651d36bf9 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -353,7 +353,7 @@ static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE, Log2_32_Ceil(MaxGlobalType+1))); Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // Constant. Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Initializer. - Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 3)); // Linkage. + Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // Linkage. if (MaxAlignment == 0) // Alignment. Abbv->Add(BitCodeAbbrevOp(0)); else { |