This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
For B's OP accessors, encode the type and offset in the XS alias integer.
authorNicholas Clark <nick@ccl4.org>
Thu, 28 Oct 2010 10:29:21 +0000 (11:29 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 29 Oct 2010 14:28:08 +0000 (15:28 +0100)
commit086f9b42de23898bfafc9164a8ae344258663b3d
treeb637f1654f7b835e27ca6c6b1990a347c6a52b91
parent9b1961beade0167df90ecc268327eb2a546a368a
For B's OP accessors, encode the type and offset in the XS alias integer.

This allows most of the code for simple structure lookups to be merged into
one XS routine. Start by merging U8 and PADOFFSET lookups in struct op with
the existing common OP* accessor code. This saves over 2K of object code on
this platform.
ext/B/B.xs