Add 'undo_ptr_list_last()' helper function
commitf39e2bb1cd833b37a6ac98d2521e92b87e1c315c
authorLinus Torvalds <torvalds@evo.osdl.org>
Thu, 11 Aug 2005 22:12:04 +0000 (11 15:12 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Thu, 11 Aug 2005 22:12:04 +0000 (11 15:12 -0700)
tree46aa3388694b42d476f979d5832262e83e6627b3
parentc8b9ce8f1ef27a0e77c87ea1581c6e2b33753e7a
Add 'undo_ptr_list_last()' helper function

It's like 'delete_ptr_list_last()', except it doesn't de-allocate the
ptrlist block that it removes the last entry from.  Useful when you know
you're going to add things back (ie basic block tail rewriting), and
when you can't afford to de-allocate the ptrlist because you're in a
loop.
ptrlist.c
ptrlist.h