core/heap.c
/* Returns false if the special heap has more than one unit or has a
 * non-externally-allocated unit.
 * Sets the cur pc for the only unit to end_pc.
 */
Returns false if the special heap has more than one unit or has a
non-externally-allocated unit.
Sets the cur pc for the only unit to end_pc.
Returns false if the special heap has more than one unit or has a non - externally - allocated unit . Sets the cur pc for the only unit to end_pc .
bool
special_heap_set_unit_end(void *special, byte *end_pc)
{
    special_units_t *su = (special_units_t *) special;
    if (su->top_unit->next != NULL ||
        SPECIAL_UNIT_HEADER_INLINE(su->top_unit) ||
        end_pc < su->top_unit->start_pc ||
        end_pc > su->top_unit->end_pc)
        return false;
    su->top_unit->cur_pc = end_pc;
    return true;
}
bool special_heap_set_unit_end ( void * special , byte * end_pc ) { special_units_t * su = ( special_units_t * ) special ; if ( su -> top_unit -> next != NULL || SPECIAL_UNIT_HEADER_INLINE ( su -> top_unit ) || end_pc < su -> top_unit -> start_pc || end_pc > su -> top_unit -> end_pc ) return false ; su -> top_unit -> cur_pc = end_pc ; return true ; }
Returns false if the special heap has more than one unit or has a
 non-externally-allocated unit.
Returns false if the special heap has more than one unit or has a non - externally - allocated unit .