XPath: Fix reallocate_nothrow to preserve existing state
Instead of rolling back the allocation and trying to allocate again, explicitly handle inplace reallocate if possible, and allocate a new block otherwise. This is going to be important once we use reallocate_nothrow from a non-throwing context.
Loading
Please register or sign in to comment