[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp

2007-04-22 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.125 -> 1.126 Instructions.cpp updated: 1.88 -> 1.89 --- Log message: For PR1136: http://llvm.org/PR1136 : Add reference counting to ParamAttrsList and make use of it in Function, CallInst and InvokeInst classes. --- Diffs of the ch

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Chris Lattner
On Apr 9, 2007, at 10:22 AM, Reid Spencer wrote: > On Mon, 2007-04-09 at 10:14 -0700, Chris Lattner wrote: >> The function and callinst dtors need to delete their attributes. > > No one is setting these yet so there's no leaks. I understand. > The next patch will > unique the attributes in whic

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Reid Spencer
On Mon, 2007-04-09 at 10:14 -0700, Chris Lattner wrote: > The function and callinst dtors need to delete their attributes. No one is setting these yet so there's no leaks. The next patch will unique the attributes in which case they should *not* be deleted. Use of ParamAttrsList in Function and C

Re: [llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Chris Lattner
The function and callinst dtors need to delete their attributes. -Chris On Apr 9, 2007, at 8:01 AM, Reid Spencer wrote: > > > Changes in directory llvm/lib/VMCore: > > Function.cpp updated: 1.116 -> 1.117 > Instructions.cpp updated: 1.81 -> 1.82 > Type.cpp updated: 1.179 -> 1.180 > --- > Log me

[llvm-commits] CVS: llvm/lib/VMCore/Function.cpp Instructions.cpp Type.cpp

2007-04-09 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.116 -> 1.117 Instructions.cpp updated: 1.81 -> 1.82 Type.cpp updated: 1.179 -> 1.180 --- Log message: For PR1146: http://llvm.org/PR1146 : * Add ParamAttrList pointers to Function and CallInst. * Move the implementation of ParamAttr