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
An earlier commit added some asserts to the old-style and new-style
stack push/pop functions such as PUSHs() or rpp_popfree_1(). These
assert that the stack is reference-counted or not as appropriate.
These asserts were enabled only if perl was built with all of
DEBUGGING && PERL_RC_STACK && DEBUG_LEAKING_SCALARS.
This commit makes the asserts available under just
DEBUGGING && PERL_RC_STACK
Initially I was worried about the performance implications (you expect
DEBUGGING builds to be slow, but not *too* slow), but they don't seem
too bad. So by making them more likely to be enabled, they're more
likely to help people spot code that needs fixing (e.g. code still doing
POPs when the stack is reference counted and the function hasn't been
wrapped).
0 commit comments