summaryrefslogtreecommitdiff
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
commitd9b4a5f859188cbb168c223071b413e58c53c925 (patch)
tree04fec821fbc9cdc4f37ab86adc1dcfeb3243d644 /lib/VMCore/Function.cpp
parentb2c3e3fdd9987fc2d08eb8f7892db2cbc7ec74d9 (diff)
downloadllvm-d9b4a5f859188cbb168c223071b413e58c53c925.tar.gz
llvm-d9b4a5f859188cbb168c223071b413e58c53c925.tar.bz2
llvm-d9b4a5f859188cbb168c223071b413e58c53c925.tar.xz
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 c1546a8e53..93e39df830 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() {