diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-06-29 22:34:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-06-29 22:34:52 +0000 |
commit | 07d317711781d8c9268f7d6afcf1ba7eadf1d127 (patch) | |
tree | 2e2826cb827a826cfdcd2e475e9b69dfd0b1009f /lib/Bitcode | |
parent | e025e966a863229feb7ad188f520ce213bb30a34 (diff) | |
download | external_llvm-07d317711781d8c9268f7d6afcf1ba7eadf1d127.zip external_llvm-07d317711781d8c9268f7d6afcf1ba7eadf1d127.tar.gz external_llvm-07d317711781d8c9268f7d6afcf1ba7eadf1d127.tar.bz2 |
Revert r107205 and r107207.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.cpp | 1 | ||||
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index 71efeff..a252da2 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -75,7 +75,6 @@ static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { case 11: return GlobalValue::LinkOnceODRLinkage; case 12: return GlobalValue::AvailableExternallyLinkage; case 13: return GlobalValue::LinkerPrivateLinkage; - case 14: return GlobalValue::LinkerWeakLinkage; } } diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 4655a65..cdeb854 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -313,7 +313,6 @@ static unsigned getEncodedLinkage(const GlobalValue *GV) { case GlobalValue::LinkOnceODRLinkage: return 11; case GlobalValue::AvailableExternallyLinkage: return 12; case GlobalValue::LinkerPrivateLinkage: return 13; - case GlobalValue::LinkerWeakLinkage: return 14; } } |