diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-02 20:51:15 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-02 20:51:15 +0000 |
commit | 81b2ab8a249c3652133a1dcc0209343cde9b499f (patch) | |
tree | ca583f82f20e74144c764a908bed84f0fd3dfc76 /lib/VMCore/Function.cpp | |
parent | a619d012c13bee0572b96b045723dff5a117a5c2 (diff) |
Initialize function notes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55645 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index c1a96de0a7..c1546a8e53 100644 --- 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() { |