mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Initialize function notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55645 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user