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 | 3320509805adde64bd742c0a3280ccc7e0ac55c4 (patch) | |
tree | ca583f82f20e74144c764a908bed84f0fd3dfc76 /lib/VMCore/Function.cpp | |
parent | 9e7b969600c8d6bc7d35faad93d7c97703f31693 (diff) | |
download | external_llvm-3320509805adde64bd742c0a3280ccc7e0ac55c4.zip external_llvm-3320509805adde64bd742c0a3280ccc7e0ac55c4.tar.gz external_llvm-3320509805adde64bd742c0a3280ccc7e0ac55c4.tar.bz2 |
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 c1a96de..c1546a8 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() { |