[llvm-commits] Add eraseFromParent, releaseFromParent to GlobalValue (round 2)

Daniel Dunbar daniel at zuster.org
Thu Aug 14 14:59:38 PDT 2008


Now with a little more feeling.

The attached patch adds eraseFromParent,releaseFromParent methods
to GlobalValue while avoiding the overhead of making those methods virtual
on Function, GlobalAlias, and GlobalVariable.

- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lift-eraseFromParent2.patch
Type: application/octet-stream
Size: 4476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080814/44dee461/attachment.obj>


More information about the llvm-commits mailing list