[timbunce/devel-nytprof] a34c61: Update ppport.h to version 3.35

1 view
Skip to first unread message

Tim Bunce

unread,
Oct 7, 2016, 6:12:37 AM10/7/16
to develnyt...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/timbunce/devel-nytprof
Commit: a34c61a06f00ced261eaae560bb7ede7b467a180
https://github.com/timbunce/devel-nytprof/commit/a34c61a06f00ced261eaae560bb7ede7b467a180
Author: Dan Collins <dcol...@gmail.com>
Date: 2016-09-19 (Mon, 19 Sep 2016)

Changed paths:
M ppport.h

Log Message:
-----------
Update ppport.h to version 3.35


Commit: 61727eeb4765da74f2c338ac5e9cda56234d2959
https://github.com/timbunce/devel-nytprof/commit/61727eeb4765da74f2c338ac5e9cda56234d2959
Author: Dan Collins <dcol...@gmail.com>
Date: 2016-09-19 (Mon, 19 Sep 2016)

Changed paths:
M NYTProf.xs

Log Message:
-----------
NYTProf.xs: o->op_sibling -> OpSIBLING(o)

The Perl core, since 586d4abb8, has had a build mode called
PERL_OP_PARENT, which causes the last sibling in a sibling chain to use
op_sibling to point to the parent, rather than being null. Under this
build mode, op_sibling is now called op_sibparent, which was causing
NYTProf to fail with a compile error.

The name of the field was changed to force programs using op_sibling to
revisit their code in light of this change - now, the last sibling in
a chain will have a non-NULL op_sibparent, and the caller must use
op_moresib to know whether the pointer is to another sibling or to
the parent.

This breakage is now visible in bleadperl, since PERL_OP_PARENT was
made default, and will be default in 5.26.0.

op.h provides a macro, OpSIBLING(o), which behaves correctly, checking
op->moresib under PERL_OP_PARENT, and returning either op_sibparent or
NULL. This patch replaces op_sibling with use that macro.


Commit: 3c53f5e62759a1d1e62299d28f9200119f349090
https://github.com/timbunce/devel-nytprof/commit/3c53f5e62759a1d1e62299d28f9200119f349090
Author: Tim Bunce <Tim....@pobox.com>
Date: 2016-10-07 (Fri, 07 Oct 2016)

Changed paths:
M NYTProf.xs
M ppport.h

Log Message:
-----------
NYTProf.xs: o->op_sibling -> OpSIBLING(o) PR#102


Compare: https://github.com/timbunce/devel-nytprof/compare/404cd5ce3a36...3c53f5e62759
Reply all
Reply to author
Forward
0 new messages