diff options
author | David Mitchell <davem@iabyn.com> | 2010-07-03 13:36:59 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-07-03 16:25:58 +0100 |
commit | 79a8d5295c08d08001ca69256d5a990d05ee1556 (patch) | |
tree | dfe5592a2494b41e6ae2650e2b5c44cc0efbab89 /pp_sort.c | |
parent | 5a8697a75658d7d8584bbfa20c013c177b3dbac3 (diff) | |
download | perl-79a8d5295c08d08001ca69256d5a990d05ee1556.tar.gz |
PL_amagic_generation doesn't show overload loaded
PL_amagic_generation is non-zero even without the presence of
'use overload', so don't bother using it as a short-cut test of
whether we can skip AMAGIC processing
Diffstat (limited to 'pp_sort.c')
-rw-r--r-- | pp_sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1858,7 +1858,7 @@ S_sv_i_ncmp(pTHX_ SV *const a, SV *const b) } #define tryCALL_AMAGICbin(left,right,meth) \ - (PL_amagic_generation && (SvAMAGIC(left)||SvAMAGIC(right))) \ + (SvAMAGIC(left)||SvAMAGIC(right)) \ ? amagic_call(left, right, CAT2(meth,_amg), 0) \ : NULL; |