summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-13 12:36:44 +0100
committerNicholas Clark <nick@ccl4.org>2011-06-11 10:12:17 +0200
commit4de01b548a201d0dc90101ced2980c754fbf0e00 (patch)
treeb1531c8ea052aa2d1afc2e91cbd0b96cddb08f1d /sv.c
parentcf7604caebfaeac604debd44c58db505ce98d732 (diff)
downloadperl-4de01b548a201d0dc90101ced2980c754fbf0e00.tar.gz
Abolish PL_vtbl_sig. It's been all 0s since it was added in 5.0 alpha 2.
Magic with a NULL vtable is equivalent to magic with a vtable of all 0s. On CPAN, only Apache::Peek's code for 5.005 is referencing it.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sv.c b/sv.c
index 0e182136db..4b63ac8c8f 100644
--- a/sv.c
+++ b/sv.c
@@ -5343,9 +5343,6 @@ Perl_sv_magic(pTHX_ register SV *const sv, SV *const obj, const int how,
case PERL_MAGIC_qr:
vtable = &PL_vtbl_regexp;
break;
- case PERL_MAGIC_sig:
- vtable = &PL_vtbl_sig;
- break;
#ifndef PERL_MICRO
case PERL_MAGIC_sigelem:
vtable = &PL_vtbl_sigelem;
@@ -5360,6 +5357,7 @@ Perl_sv_magic(pTHX_ register SV *const sv, SV *const obj, const int how,
case PERL_MAGIC_vec:
vtable = &PL_vtbl_vec;
break;
+ case PERL_MAGIC_sig:
case PERL_MAGIC_arylen_p:
case PERL_MAGIC_rhash:
case PERL_MAGIC_symtab: