1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Initialize function notes.

llvm-svn: 55645
This commit is contained in:
Devang Patel 2008-09-02 20:51:15 +00:00
parent 46f19abcec
commit 863655cd40

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() {