diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-22 17:28:03 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-22 17:28:03 +0000 |
commit | b90909e40536db17665727f5ca1c618e485464c3 (patch) | |
tree | 770b735b61c9866050ceb8d3705dc80a582d70a8 /include/llvm/Function.h | |
parent | 7aaa4a5c09d7c9a53ccf2c856c8ba6fe31f14302 (diff) |
For PR1136:
Add reference counting to ParamAttrsList and make use of it in Function,
CallInst and InvokeInst classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 862edca9c7..a50601d1ba 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -128,7 +128,7 @@ public: /// Sets the parameter attributes for this Function. To construct a /// ParamAttrsList, see ParameterAttributes.h /// @brief Set the parameter attributes. - void setParamAttrs(ParamAttrsList *attrs) { ParamAttrs = attrs; } + void setParamAttrs(ParamAttrsList *attrs); /// deleteBody - This method deletes the body of the function, and converts /// the linkage to external. |