aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-23 22:35:17 +0000
committerDevang Patel <dpatel@apple.com>2008-09-23 22:35:17 +0000
commit82fed6702b13d9d3625295494ead5211c415b3a0 (patch)
treeb835e0e199b7bb45affa61b05832888d28b5bdfc /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentba79e1713960a98fb7cd1d321b1b4d92aa01f2ae (diff)
downloadllvm-82fed6702b13d9d3625295494ead5211c415b3a0.zip
llvm-82fed6702b13d9d3625295494ead5211c415b3a0.tar.gz
llvm-82fed6702b13d9d3625295494ead5211c415b3a0.tar.bz2
Use parameter attribute store (soon to be renamed) for
Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index c647828..931e944 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/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);