various fixes - also cperl - #5
Open
rurban wants to merge 3 commits into
Open
Conversation
Collaborator
|
I wasn't aware of cperl. Very interesting! Minor nit: I think I'd use: OP_SPARE(op)rather than: op->OP_SPAREI 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? |
Author
|
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.
|
Author
|
Now only 2 commits |
Author
|
BTW: I didn't see ribasushi's PR #2. His looks better. Just take my 1st XS commit then. |
Collaborator
Thanks. I've merged it. |
added 2 commits
December 11, 2016 22:35
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.
Collaborator
Did you get a chance to look into this?
Has this been rebased against #2? If not, please make a seperate PR. |
Author
|
My latest fix is in my distroprefs. rurban/distroprefs@0863fd9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix wrong t/50reentrant_goto_sigsegv.t
XS: replace op_spare with op_typechecked
fix todo_skip syntax in t/50reentrant_goto_sigsegv.t