This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
save_int/i32 inline the long version
authorDavid Mitchell <davem@iabyn.com>
Sun, 25 Nov 2012 16:36:43 +0000 (16:36 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 4 Dec 2012 10:22:20 +0000 (10:22 +0000)
commitd172696c35223548e4cde3868d91bd72b7c7c195
tree0f86dd28fc008da2bd85eedbd6d49ef7992111c7
parenta3444cc5f8f286b7d8760d1675a39eb29de51067
save_int/i32 inline the long version

Both these functions were structured as

    if (int will fit in type)
SS_ADD(...);
    else
save_pushi32ptr(...)

Inline the call of the "long" version of the save. With refactoring, the
machine code (x86_64, gcc -O2) is no larger than before, and saves time
on the long version.
scope.c