pad(output, allocation.limit_ - allocation.size_);
position += allocation.limit_ - allocation.size_;
- position += save(output, allocation.limit_, overlap, top);
- if (allocation.alloc_ > position)
- pad(output, allocation.alloc_ - position);
+ size_t saved(save(output, allocation.limit_, overlap, top));
+ if (allocation.alloc_ > saved)
+ pad(output, allocation.alloc_ - saved);
+ position += allocation.alloc_;
}
}