diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-10-04 15:33:49 +0200 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-11-22 21:20:37 -0800 |
commit | 148732bd2d927f02ceaf35fd3eb4ab0387c04552 (patch) | |
tree | 9b368d7d10ac502f6b8d279f098ac19dedd1030a /ext/PerlIO-encoding | |
parent | 61bac25cda61b4427e5f2b2a645379733dac20a6 (diff) | |
download | perl-148732bd2d927f02ceaf35fd3eb4ab0387c04552.tar.gz |
No need to wrap calls to Perl_load_module() in ENTER/LEAVE
As of commit 53a7735b62aee146 (May 2007) Perl_vload_module() wraps its call
to Perl_utilize() with ENTER/LEAVE, so there's no longer a need for callers
of Perl_load_module() to also wrap with ENTER/LEAVE.
Diffstat (limited to 'ext/PerlIO-encoding')
-rw-r--r-- | ext/PerlIO-encoding/encoding.xs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/PerlIO-encoding/encoding.xs b/ext/PerlIO-encoding/encoding.xs index f7b5a4cad5..f522ef101c 100644 --- a/ext/PerlIO-encoding/encoding.xs +++ b/ext/PerlIO-encoding/encoding.xs @@ -649,11 +649,9 @@ BOOT: /* This would just be an irritant now loading works */ Perl_warner(aTHX_ packWARN(WARN_IO), ":encoding without 'use Encode'"); #endif - ENTER; /* The SV is magically freed by load_module */ load_module(PERL_LOADMOD_NOIMPORT, newSVpvn("Encode", 6), Nullsv, Nullsv); assert(sp == PL_stack_sp); - LEAVE; } PUSHMARK(sp); PUTBACK; |