*/
static inline unsigned char mas_data_end(struct ma_state *mas)
{
- enum maple_type type = mte_node_type(mas->node);
- unsigned char offset = mt_min_slots[type];
- unsigned long *pivots = ma_pivots(mas_mn(mas), type);
+ enum maple_type type;
+ unsigned char offset;
+ unsigned long *pivots;
+ type = mte_node_type(mas->node);
if (type == maple_arange_64)
return ma_meta_end(mte_to_node(mas->node), type);
+ offset = mt_min_slots[type];
+ pivots = ma_pivots(mas_mn(mas), type);
if (unlikely(!pivots[offset]))
goto decrement;