summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-12-01 22:51:22 +0000
committerNicholas Clark <nick@ccl4.org>2006-12-01 22:51:22 +0000
commit005a8a35ce5b6191102f848d17a5c617740a685c (patch)
treee37187ba38761daa9b8ddf12d4e36cecd9ab07ab /embed.h
parenta9ef256d686ebab6464dfd2ad06eb0aff1240f34 (diff)
downloadperl-005a8a35ce5b6191102f848d17a5c617740a685c.tar.gz
Make get_db_sub non-static, and call it from pp_goto, which allows the
removal of duplicate code. (The conversion of GvSV(PL_DBsub) to GvSVn(PL_DBsub) implicit in this change should fix a failure with Devel::SmallProf.) p4raw-id: //depot/perl@29434
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index 618166f20a..8cc8bba9a3 100644
--- a/embed.h
+++ b/embed.h
@@ -1274,7 +1274,6 @@
#if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
#ifdef PERL_CORE
#define do_oddball S_do_oddball
-#define get_db_sub S_get_db_sub
#define method_common S_method_common
#endif
#endif
@@ -2458,6 +2457,8 @@
#define getenv_len(a,b) Perl_getenv_len(aTHX_ a,b)
#endif
#endif
+#ifdef PERL_CORE
+#endif
#define gp_free(a) Perl_gp_free(aTHX_ a)
#define gp_ref(a) Perl_gp_ref(aTHX_ a)
#define gv_AVadd(a) Perl_gv_AVadd(aTHX_ a)
@@ -3477,7 +3478,6 @@
#if defined(PERL_IN_PP_HOT_C) || defined(PERL_DECL_PROT)
#ifdef PERL_CORE
#define do_oddball(a,b,c) S_do_oddball(aTHX_ a,b,c)
-#define get_db_sub(a,b) S_get_db_sub(aTHX_ a,b)
#define method_common(a,b) S_method_common(aTHX_ a,b)
#endif
#endif