projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a619d01
)
Initialize function notes.
author
Devang Patel
<dpatel@apple.com>
Tue, 2 Sep 2008 20:51:15 +0000
(20:51 +0000)
committer
Devang Patel
<dpatel@apple.com>
Tue, 2 Sep 2008 20:51:15 +0000
(20:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55645
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Function.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Function.cpp
b/lib/VMCore/Function.cpp
index c1a96de0a7738cf90a7ea0071c841768d5ea9fbc..c1546a8e53f2ad1a580d055be52ae660f9b9fd9b 100644
(file)
--- a/
lib/VMCore/Function.cpp
+++ b/
lib/VMCore/Function.cpp
@@
-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() {