aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-09-23 22:35:17 +0000
committerDevang Patel <dpatel@apple.com>2008-09-23 22:35:17 +0000
commitd708b53e7f26931e7b98f535ef1579f28031bef4 (patch)
tree04fec821fbc9cdc4f37ab86adc1dcfeb3243d644 /lib/VMCore/Function.cpp
parentbc1621e7d36e13bee6298e6067ad1f70be7dbd03 (diff)
downloadexternal_llvm-d708b53e7f26931e7b98f535ef1579f28031bef4.zip
external_llvm-d708b53e7f26931e7b98f535ef1579f28031bef4.tar.gz
external_llvm-d708b53e7f26931e7b98f535ef1579f28031bef4.tar.bz2
Use parameter attribute store (soon to be renamed) for
Function Notes also. Function notes are stored at index ~0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r--lib/VMCore/Function.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp
index c1546a8..93e39df 100644
--- a/lib/VMCore/Function.cpp
+++ b/lib/VMCore/Function.cpp
@@ -174,7 +174,6 @@ Function::Function(const FunctionType *Ty, LinkageTypes Linkage,
if (unsigned IID = getIntrinsicID(true))
setParamAttrs(Intrinsic::getParamAttrs(Intrinsic::ID(IID)));
- Notes = 0;
}
Function::~Function() {