This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In B.xs, move the direct COP access for stash and file into the common code.
authorNicholas Clark <nick@ccl4.org>
Sat, 30 Oct 2010 08:03:29 +0000 (09:03 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 30 Oct 2010 08:03:29 +0000 (09:03 +0100)
commita9ed1a444f340fe05e2519b0e6f38396593c7e30
tree980bf05e3289bd816178641d0eaeecef0b1f5ac7
parentde0d84bf8e8a8f4063751842b6b0a2a286780912
In B.xs, move the direct COP access for stash and file into the common code.

Both pairs of accessors are provided for both ithreads and not, but for each,
one pair is direct structure access, and 1 pair "faked up" with a more comple
macro. The direct structure access pair uses the common code (B::OP::next)

This reduces the object code by about 1K for both threaded and unthreaded
builds.
ext/B/B.xs