[llvm-commits] Add eraseFromParent, releaseFromParent to GlobalValue

Dan Gohman gohman at apple.com
Thu Aug 14 13:58:21 PDT 2008


Hi Daniel,

It's not necessary to make the existing eraseFromParent
and friends virtual; that's only needed if there will be
subclasses of Function and and friends, which we don't
really need. Just having the pure virtual declarations in
GlobalValue should be sufficient to do what you want
here.

Dan

On Wed, 2008-08-13 at 15:02 -0700, Daniel Dunbar wrote:
> The attached patch adds (pure virtual) eraseFromParent,releaseFromParent methods
> to GlobalValue.
> 
>  - Daniel
> _______________________________________________ llvm-commits mailing list llvm-commits at cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list