summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-11-11 10:55:27 +0000
committerNicholas Clark <nick@ccl4.org>2010-11-11 10:55:27 +0000
commite8c9c9d4ce82614b4d0361228e3acb9ed1d4ddf0 (patch)
tree8cde39d8f8918770b0dff75b1dbfadbd0f7ed70c /embed.fnc
parent31c72c81d58f35758d79ae5790bfaf21252bb22e (diff)
downloadperl-e8c9c9d4ce82614b4d0361228e3acb9ed1d4ddf0.tar.gz
Inline sv_cmp() and sv_cmp_locale() as macros wrapping their flags variants.
We can't move Perl_sv_cmp() and Perl_sv_cmp_locale() to mathoms.c, as they are referenced by function pointer in pp_sort.c - pointers which require the specific current calling signature.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.fnc b/embed.fnc
index 9957c865c7..3baf32ef8b 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1162,10 +1162,10 @@ pd |I32 |sv_clean_all
: Used only in perl.c
pd |void |sv_clean_objs
Apd |void |sv_clear |NN SV *const orig_sv
-Apd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
+Aopd |I32 |sv_cmp |NULLOK SV *const sv1|NULLOK SV *const sv2
Apd |I32 |sv_cmp_flags |NULLOK SV *const sv1|NULLOK SV *const sv2 \
|const U32 flags
-Apd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
+Aopd |I32 |sv_cmp_locale |NULLOK SV *const sv1|NULLOK SV *const sv2
Apd |I32 |sv_cmp_locale_flags |NULLOK SV *const sv1 \
|NULLOK SV *const sv2|const U32 flags
#if defined(USE_LOCALE_COLLATE)