Initialize function notes.

llvm-svn: 55645
This commit is contained in:
Devang Patel 2008-09-02 20:51:15 +00:00
parent 478f6baf0d
commit d334a43a86
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ Function::Function(const FunctionType *Ty, LinkageTypes Linkage,
// Ensure intrinsics have the right parameter attributes.
if (unsigned IID = getIntrinsicID(true))
setParamAttrs(Intrinsic::getParamAttrs(Intrinsic::ID(IID)));
Notes = 0;
}
Function::~Function() {