diff --git a/src/hb-priority-queue.hh b/src/hb-priority-queue.hh index c006233d1..938c02872 100644 --- a/src/hb-priority-queue.hh +++ b/src/hb-priority-queue.hh @@ -61,7 +61,9 @@ struct hb_priority_queue_t bubble_up (heap.length - 1); } +#ifndef HB_OPTIMIZE_SIZE HB_ALWAYS_INLINE +#endif item_t pop_minimum () { assert (!is_empty ()); @@ -107,6 +109,7 @@ struct hb_priority_queue_t return 2 * index + 2; } + HB_ALWAYS_INLINE void bubble_down (unsigned index) { repeat: