From d9b4a5f859188cbb168c223071b413e58c53c925 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Tue, 23 Sep 2008 22:35:17 +0000 Subject: 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 --- lib/Bitcode/Reader/BitcodeReader.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp') 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 -- cgit v1.2.3-18-g5258