Basic bb_flush() code - no phi/split logic yet