core/instrlist.c
/*
 * puts a whole list (prependee) onto the front of ilist
 * frees prependee when done because it will contain nothing useful
 */
puts a whole list (prependee) onto the front of ilist
frees prependee when done because it will contain nothing useful
puts a whole list ( prependee ) onto the front of ilist frees prependee when done because it will contain nothing useful
void
instrlist_prepend_instrlist(dcontext_t *dcontext,instrlist_t *ilist,
                            instrlist_t *prependee)
{
    instr_t *first=instrlist_first(prependee);
    if (!first)
        return;
    instrlist_prepend(ilist,first);
    instrlist_init(prependee);
    instrlist_destroy(dcontext,prependee);
}
void instrlist_prepend_instrlist ( dcontext_t * dcontext , instrlist_t * ilist , instrlist_t * prependee ) { instr_t * first = instrlist_first ( prependee ) ; if ( ! first ) return ; instrlist_prepend ( ilist , first ) ; instrlist_init ( prependee ) ; instrlist_destroy ( dcontext , prependee ) ; }
puts a whole list (prependee) onto the front of ilist
 frees prependee when done because it will contain nothing useful
puts a whole list ( prependee ) onto the front of ilist frees prependee when done because it will contain nothing useful