diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-23 22:35:17 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-23 22:35:17 +0000 |
commit | d708b53e7f26931e7b98f535ef1579f28031bef4 (patch) | |
tree | 04fec821fbc9cdc4f37ab86adc1dcfeb3243d644 /lib/Bitcode/Writer | |
parent | bc1621e7d36e13bee6298e6067ad1f70be7dbd03 (diff) | |
download | external_llvm-d708b53e7f26931e7b98f535ef1579f28031bef4.zip external_llvm-d708b53e7f26931e7b98f535ef1579f28031bef4.tar.gz external_llvm-d708b53e7f26931e7b98f535ef1579f28031bef4.tar.bz2 |
Use parameter attribute store (soon to be renamed) for
Function Notes also. Function notes are stored at index ~0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index c647828..931e944 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -412,7 +412,6 @@ static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE, Vals.push_back(F->hasSection() ? SectionMap[F->getSection()] : 0); Vals.push_back(getEncodedVisibility(F)); Vals.push_back(F->hasGC() ? GCMap[F->getGC()] : 0); - Vals.push_back(F->getNotes()); unsigned AbbrevToUse = 0; Stream.EmitRecord(bitc::MODULE_CODE_FUNCTION, Vals, AbbrevToUse); |