This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
For B's GP accessors, encode the type and offset in the XS alias integer.
authorNicholas Clark <nick@ccl4.org>
Sat, 30 Oct 2010 09:35:27 +0000 (10:35 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 30 Oct 2010 09:35:27 +0000 (10:35 +0100)
commit257e0650ae2a3736b7fa675a4c66e6d815539c2a
tree7a922a319b82a6a0e6721c19629ed73302d9874a
parenta9ed1a444f340fe05e2519b0e6f38396593c7e30
For B's GP accessors, encode the type and offset in the XS alias integer.

This allows most of the code for simple structure lookups in the GP of a GV to
be merged into one XS routine. This saves over 5.5K of object code on this
platform.
ext/B/B.xs