From 82fed6702b13d9d3625295494ead5211c415b3a0 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. llvm-svn: 56511 --- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp') diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 975075c..cfe2ba9 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 -- cgit v1.1