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:
parent
46f19abcec
commit
863655cd40
@ -173,6 +173,8 @@ Function::Function(const FunctionType *Ty, LinkageTypes Linkage,
|
|||||||
// Ensure intrinsics have the right parameter attributes.
|
// Ensure intrinsics have the right parameter attributes.
|
||||||
if (unsigned IID = getIntrinsicID(true))
|
if (unsigned IID = getIntrinsicID(true))
|
||||||
setParamAttrs(Intrinsic::getParamAttrs(Intrinsic::ID(IID)));
|
setParamAttrs(Intrinsic::getParamAttrs(Intrinsic::ID(IID)));
|
||||||
|
|
||||||
|
Notes = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Function::~Function() {
|
Function::~Function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user