This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
rename POPFOO() to CX_POPFOO()
authorDavid Mitchell <davem@iabyn.com>
Fri, 25 Dec 2015 11:07:28 +0000 (11:07 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 3 Feb 2016 09:19:17 +0000 (09:19 +0000)
commitb405d38bc792991fe2bdb47a1503569aba7d5db5
treeec18a27a29b8cf50be9cc1910ce6cbad0eb8f14a
parentef5889910d6925f89c05af2dac7a543a9678fb52
rename POPFOO() to CX_POPFOO()

Rename all the context-popping macros such as POPBLOCK and POPSUB, by
giving them a CX_ prefix. (Do TOPBLOCK too).

This is principally to  deliberately break any existing non-core use of
these non-API macros, as their behaviour has changed in this branch.
In particular, POPBLOCK(cx) no longer decrements the cxt stack pointer
nor sets cx; instead, cx is now expected to already point to the stack
frame which POPBLOCK should process.

At the same time, giving them a CX_ prefix makes it clearer that these
are all part of a family of macros that manipulate the context stack.

The PUSHFOO() macros will be renamed in a later commit.
cop.h
ext/XS-APItest/APItest.xs
op.c
perl.c
pp.c
pp_ctl.c
pp_hot.c
pp_sort.c
pp_sys.c
scope.c
t/op/args.t