Perl_save_destructor is not a mathom
Jerry D. Hedden [Wed, 6 Dec 2006 11:12:13 +0000 (03:12 -0800)]
From: "Jerry D. Hedden" <jdhedden@yahoo.com>
Message-ID: <20061206191213.35036.qmail@web30206.mail.mud.yahoo.com>

p4raw-id: //depot/perl@29482

mathoms.c
scope.c

index 8b526ab..19c4979 100644 (file)
--- a/mathoms.c
+++ b/mathoms.c
@@ -1223,17 +1223,6 @@ Perl_save_list(pTHX_ register SV **sarg, I32 maxsarg)
     }
 }
 
-void
-Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
-{
-    dVAR;
-    SSCHECK(3);
-    SSPUSHDPTR(f);
-    SSPUSHPTR(p);
-    SSPUSHINT(SAVEt_DESTRUCTOR);
-}
-
-
 /*
 =for apidoc sv_usepvn_mg
 
diff --git a/scope.c b/scope.c
index 03b14e8..abe9a05 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -503,6 +503,16 @@ Perl_save_delete(pTHX_ HV *hv, char *key, I32 klen)
 }
 
 void
+Perl_save_destructor(pTHX_ DESTRUCTORFUNC_NOCONTEXT_t f, void* p)
+{
+    dVAR;
+    SSCHECK(3);
+    SSPUSHDPTR(f);
+    SSPUSHPTR(p);
+    SSPUSHINT(SAVEt_DESTRUCTOR);
+}
+
+void
 Perl_save_destructor_x(pTHX_ DESTRUCTORFUNC_t f, void* p)
 {
     dVAR;