[llvm-commits] [llvm] r55645 - /llvm/trunk/lib/VMCore/Function.cpp
Devang Patel
dpatel at apple.com
Tue Sep 2 13:51:15 PDT 2008
Author: dpatel
Date: Tue Sep 2 15:51:15 2008
New Revision: 55645
URL: http://llvm.org/viewvc/llvm-project?rev=55645&view=rev
Log:
Initialize function notes.
Modified:
llvm/trunk/lib/VMCore/Function.cpp
Modified: llvm/trunk/lib/VMCore/Function.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Function.cpp?rev=55645&r1=55644&r2=55645&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Function.cpp (original)
+++ llvm/trunk/lib/VMCore/Function.cpp Tue Sep 2 15:51:15 2008
@@ -173,6 +173,8 @@
// Ensure intrinsics have the right parameter attributes.
if (unsigned IID = getIntrinsicID(true))
setParamAttrs(Intrinsic::getParamAttrs(Intrinsic::ID(IID)));
+
+ Notes = 0;
}
Function::~Function() {
More information about the llvm-commits
mailing list