Sema: extract out zirTryPtr from zirTry

This function took is_ptr: bool and then branched on it three times.
Now, instead, each implementation does no branching and the logic is
easier to follow, both for maintainers and compilers.

I also fixed a bug with TryPtr not ensuring enough capacity in the extra
array.
f4ac37f55dAndrew Kelley committed on 6/5/2022, 8:37:08 AM· committed by Jakub Konkaparent6d3586e
1 file changedLine totals unavailable