You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
smartmatch: fail to find the loop instead of crashing
dopoptoloop() or dopoptolabel() would find a loop outside the sub
called from call_sv() and rewind the context and save stack to outside
the context set up by call_sv(), crashes and panics ensure.
Switching stacks here also starts a new context stack, so the outer
loop isn't found and we don't crash.
Most other callers to call_sv() (or call_method() etc) do the same.
I'm not entirely sure about passing flags = 1 to push_stackinfo(),
this matches pp_sort, but not other callers.
Fixes#16608
0 commit comments