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 | 82fed6702b13d9d3625295494ead5211c415b3a0 (patch) | |
tree | b835e0e199b7bb45affa61b05832888d28b5bdfc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | ba79e1713960a98fb7cd1d321b1b4d92aa01f2ae (diff) | |
download | bcm5719-llvm-82fed6702b13d9d3625295494ead5211c415b3a0.tar.gz bcm5719-llvm-82fed6702b13d9d3625295494ead5211c415b3a0.zip |
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/Reader/BitcodeReader.cpp')
-rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 975075c60e5..cfe2ba95441 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/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 |