diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-14 17:12:13 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-14 17:12:13 +0000 |
commit | e7513ba08f5072cd6b3f2cf5391fe128dd157ac1 (patch) | |
tree | 7eaa4bd7b39fdf7af0917bae260d91fd00ea6bce /pp_ctl.c | |
parent | 0b94c7bb9a33fcbef93724c1b5f96b2616e1e13f (diff) | |
download | perl-e7513ba08f5072cd6b3f2cf5391fe128dd157ac1.tar.gz |
minor efficiency tweak
p4raw-id: //depot/perl@3672
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -39,8 +39,13 @@ static I32 amagic_ncmp(pTHXo_ SV *a, SV *b); static I32 amagic_i_ncmp(pTHXo_ SV *a, SV *b); static I32 amagic_cmp(pTHXo_ SV *a, SV *b); static I32 amagic_cmp_locale(pTHXo_ SV *a, SV *b); +#ifdef PERL_OBJECT static I32 sv_cmp_static(pTHXo_ SV *a, SV *b); static I32 sv_cmp_locale_static(pTHXo_ SV *a, SV *b); +#else +#define sv_cmp_static Perl_sv_cmp +#define sv_cmp_locale_static Perl_sv_cmp_locale +#endif PP(pp_wantarray) { @@ -4090,6 +4095,8 @@ amagic_cmp_locale(pTHXo_ register SV *str1, register SV *str2) return sv_cmp_locale(str1, str2); } +#ifdef PERL_OBJECT + static I32 sv_cmp_locale_static(pTHXo_ register SV *str1, register SV *str2) { @@ -4101,3 +4108,5 @@ sv_cmp_static(pTHXo_ register SV *str1, register SV *str2) { return sv_cmp(str1, str2); } + +#endif /* PERL_OBJECT */ |