Skip to content

various fixes - also cperl - #5

Open
rurban wants to merge 3 commits into
tsee:masterfrom
rurban:cperl
Open

various fixes - also cperl#5
rurban wants to merge 3 commits into
tsee:masterfrom
rurban:cperl

Conversation

@rurban

@rurban rurban commented Dec 11, 2016

Copy link
Copy Markdown

fix wrong t/50reentrant_goto_sigsegv.t

wrong test count.
wrong name check. install_accessor_with_shim installs a package prefix.

XS: replace op_spare with op_typechecked

in cperl. cperl has no spare bit. we can use that one.
the called function is also enterxssub, the faster XS variant,
not entersub.

fix todo_skip syntax in t/50reentrant_goto_sigsegv.t

fails hard in cperl

@chocolateboy

Copy link
Copy Markdown
Collaborator

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.

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?

@rurban

rurban commented Dec 11, 2016 via email

Copy link
Copy Markdown
Author

@rurban

rurban commented Dec 11, 2016

Copy link
Copy Markdown
Author

Now only 2 commits

@rurban

rurban commented Dec 11, 2016

Copy link
Copy Markdown
Author

BTW: I didn't see ribasushi's PR #2. His looks better. Just take my 1st XS commit then.

@chocolateboy

chocolateboy commented Dec 11, 2016

Copy link
Copy Markdown
Collaborator

His looks better.

Thanks. I've merged it.

Reini Urban 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.
@chocolateboy

Copy link
Copy Markdown
Collaborator

haven’t stepped through it yet.

Did you get a chance to look into this?

Just take my 1st XS commit then.

Has this been rebased against #2? If not, please make a seperate PR.

@rurban

rurban commented Feb 22, 2017

Copy link
Copy Markdown
Author

My latest fix is in my distroprefs. rurban/distroprefs@0863fd9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants