-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
various fixes - also cperl #5
base: master
Are you sure you want to change the base?
Conversation
I wasn't aware of cperl. Very interesting! Minor nit: I think I'd use: OP_SPARE(op) rather than: op->OP_SPARE I don't think I've seen the latter style used before.
What happens if the sub is redefined from an XSUB to a regular sub? Does OP_ENTERXSSUB handle that? |
On Dec 11, 2016, at 7:24 PM, chocolateboy ***@***.***> wrote:
I wasn't aware of cperl. Very interesting!
Minor nit: I think I'd use:
OP_SPARE(op)
rather than:
Agreed. Will change.
op->OP_SPARE
I don't think I've seen the latter style used before.
the called function is also enterxssub, the faster XS variant,
not entersub
What happens if the sub is redefined from an XSUB to a regular sub? Does OP_ENTERXSSUB handle that?
yes. they will fallback to each other dynamically.
but not in this case interestingly.
haven’t stepped through it yet.
|
Now only 2 commits |
BTW: I didn't see ribasushi's PR #2. His looks better. Just take my 1st XS commit then. |
Thanks. I've merged it. |
in cperl. cperl has no spare bit. we can use that one. the called function is also enterxssub, the faster XS variant, not entersub.
This todo_skip syntax in fails hard in cperl with a typed Test::More.
Did you get a chance to look into this?
Has this been rebased against #2? If not, please make a seperate PR. |
My latest fix is in my distroprefs. rurban/distroprefs@0863fd9 |
fix wrong t/50reentrant_goto_sigsegv.t
XS: replace op_spare with op_typechecked
fix todo_skip syntax in t/50reentrant_goto_sigsegv.t