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 | d9b4a5f859188cbb168c223071b413e58c53c925 (patch) | |
tree | 04fec821fbc9cdc4f37ab86adc1dcfeb3243d644 /lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | b2c3e3fdd9987fc2d08eb8f7892db2cbc7ec74d9 (diff) |
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/Reader/BitcodeReader.cpp')
-rw-r--r-- | lib/Bitcode/Reader/BitcodeReader.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index 975075c60e..cfe2ba9544 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/lib/Bitcode/Reader/BitcodeReader.cpp @@ -1197,10 +1197,6 @@ bool BitcodeReader::ParseModule(const std::string &ModuleID) { return Error("Invalid GC ID"); Func->setGC(GCTable[Record[8]-1].c_str()); } - if (!isProto && Record.size() > 9 && Record[9]) { - Func->setNotes(Record[9]); - } - ValueList.push_back(Func); // If this is a function with a body, remember the prototype we are |