diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-05-21 16:45:50 +0200 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-05-21 16:45:50 +0200 |
commit | 2243c3b2519b9854cb76fbdb41e692fd0a494fa2 (patch) | |
tree | d41c723cd369b6e5c74c7ad3d9d4ddfc7b8fdd79 /mg.c | |
parent | b14647bbef65df1555e337714aa22f1e154a4462 (diff) | |
download | perl-2243c3b2519b9854cb76fbdb41e692fd0a494fa2.tar.gz |
In Perl_magic_setisa(), re-order two independant return early checks.
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1537,13 +1537,13 @@ Perl_magic_setisa(pTHX_ SV *sv, MAGIC *mg) PERL_ARGS_ASSERT_MAGIC_SETISA; PERL_UNUSED_ARG(sv); - /* Bail out if destruction is going on */ - if(PL_dirty) return 0; - /* Skip _isaelem because _isa will handle it shortly */ if (PL_delaymagic & DM_ARRAY && mg->mg_type == PERL_MAGIC_isaelem) return 0; + /* Bail out if destruction is going on */ + if(PL_dirty) return 0; + /* XXX Once it's possible, we need to detect that our @ISA is aliased in other stashes, and act on the stashes |