Use parameter attribute store (soon to be renamed) for
[oota-llvm.git] / lib / Bitcode / Reader / BitcodeReader.cpp
index 975075c60e53132234c92972a724fbd8032fa254..cfe2ba95441c3cf988677a8400645718c0aefeea 100644 (file)
@@ -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