mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
Revert "Revert "[priority-queue] Inline a couple more""
This reverts commit 915410e526.
Mistake.
This commit is contained in:
1 parent
915410e526
commit
5e42f7bb6d
1 file changed
+3
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user