summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-08-02 14:41:58 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-08-02 14:41:58 -0700
commit10654d5139c0a27b996d0f536591978b3a6d532f (patch)
tree512f0618f974a190838b87c875ae6eefa1c5c50b
parent4b932c1481f2c641089c02ab05341310622b6f69 (diff)
downloadperl-10654d5139c0a27b996d0f536591978b3a6d532f.tar.gz
Remove Perl_mod
After mod was renamed to op_lvalue, this stub was added temporarily to provide a smoother transition for the compilers. The compiler maintainer is happy with its extirpation at this stage. See ticket #78908.
-rw-r--r--embed.fnc2
-rw-r--r--embed.h1
-rw-r--r--global.sym1
-rw-r--r--op.c8
-rw-r--r--proto.h1
5 files changed, 0 insertions, 13 deletions
diff --git a/embed.fnc b/embed.fnc
index a84a958619..f48d8ce9c7 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -758,8 +758,6 @@ Ap |I32 |mg_size |NN SV* sv
Ap |void |mini_mktime |NN struct tm *ptm
AMmd |OP* |op_lvalue |NULLOK OP* o|I32 type
poX |OP* |op_lvalue_flags|NULLOK OP* o|I32 type|U32 flags
-: To be removed after 5.14 (see [perl #78908]):
-EXp |OP* |mod |NULLOK OP* o|I32 type
p |void |finalize_optree |NN OP* o
#if defined(PERL_IN_OP_C)
s |void |finalize_op |NN OP* o
diff --git a/embed.h b/embed.h
index b15a92e417..0b3c4dca57 100644
--- a/embed.h
+++ b/embed.h
@@ -840,7 +840,6 @@
#define is_utf8_X_extend(a) Perl_is_utf8_X_extend(aTHX_ a)
#define is_utf8_X_non_hangul(a) Perl_is_utf8_X_non_hangul(aTHX_ a)
#define is_utf8_X_prepend(a) Perl_is_utf8_X_prepend(aTHX_ a)
-#define mod(a,b) Perl_mod(aTHX_ a,b)
#define op_clear(a) Perl_op_clear(aTHX_ a)
#define qerror(a) Perl_qerror(aTHX_ a)
#define reg_named_buff(a,b,c,d) Perl_reg_named_buff(aTHX_ a,b,c,d)
diff --git a/global.sym b/global.sym
index 11de51ef9c..0a27f2982f 100644
--- a/global.sym
+++ b/global.sym
@@ -323,7 +323,6 @@ Perl_mg_magical
Perl_mg_set
Perl_mg_size
Perl_mini_mktime
-Perl_mod
Perl_moreswitches
Perl_mro_get_from_name
Perl_mro_get_linear_isa
diff --git a/op.c b/op.c
index 68aa1a7b1d..c9b4d519a6 100644
--- a/op.c
+++ b/op.c
@@ -2011,14 +2011,6 @@ Perl_op_lvalue_flags(pTHX_ OP *o, I32 type, U32 flags)
return o;
}
-/* Do not use this. It will be removed after 5.14. */
-OP *
-Perl_mod(pTHX_ OP *o, I32 type)
-{
- return op_lvalue(o,type);
-}
-
-
STATIC bool
S_scalar_mod_type(const OP *o, I32 type)
{
diff --git a/proto.h b/proto.h
index 6ddc11c7b9..2c63536ebc 100644
--- a/proto.h
+++ b/proto.h
@@ -2282,7 +2282,6 @@ PERL_CALLCONV void Perl_mini_mktime(pTHX_ struct tm *ptm)
#define PERL_ARGS_ASSERT_MINI_MKTIME \
assert(ptm)
-PERL_CALLCONV OP* Perl_mod(pTHX_ OP* o, I32 type);
PERL_CALLCONV int Perl_mode_from_discipline(pTHX_ const char* s, STRLEN len);
PERL_CALLCONV void * Perl_more_bodies(pTHX_ const svtype sv_type, const size_t body_size, const size_t arena_size);
PERL_CALLCONV const char* Perl_moreswitches(pTHX_ const char* s)