summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-08-29 03:35:18 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-08-29 03:35:18 +0000
commitfc0dc3b334ed07492841d4d27f3f4100c92588d2 (patch)
tree29f740a42534c1315c9b9f49ca26c9ceb21ba860 /sv.c
parent0ae6046c5548636c0d642d76d3c8222375a744dd (diff)
downloadperl-fc0dc3b334ed07492841d4d27f3f4100c92588d2.tar.gz
deadcode removal
p4raw-id: //depot/perl@4034
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sv.c b/sv.c
index 9ba9f6cb15..97f97f2db2 100644
--- a/sv.c
+++ b/sv.c
@@ -15,12 +15,6 @@
#define PERL_IN_SV_C
#include "perl.h"
-#ifdef PERL_OBJECT
-#define VTBL this->*vtbl
-#else /* !PERL_OBJECT */
-#define VTBL *vtbl
-#endif /* PERL_OBJECT */
-
#define FCALL *f
#define SV_CHECK_THINKFIRST(sv) if (SvTHINKFIRST(sv)) sv_force_normal(sv)
@@ -2721,7 +2715,7 @@ Perl_sv_unmagic(pTHX_ SV *sv, int type)
MGVTBL* vtbl = mg->mg_virtual;
*mgp = mg->mg_moremagic;
if (vtbl && (vtbl->svt_free != NULL))
- (VTBL->svt_free)(aTHX_ sv, mg);
+ CALL_FPTR(vtbl->svt_free)(aTHX_ sv, mg);
if (mg->mg_ptr && mg->mg_type != 'g')
if (mg->mg_len >= 0)
Safefree(mg->mg_ptr);