summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-12-02 18:47:23 -0700
committerKarl Williamson <public@khwilliamson.com>2012-12-09 09:47:17 -0700
commitb81740c0c3e6a549e6766887035f48b39a45557c (patch)
tree9b00194648be9ce55a858262363a890fc44d42f9 /utf8.c
parent9e3e825e7fea9a67d23db17933ab6c803f890219 (diff)
downloadperl-b81740c0c3e6a549e6766887035f48b39a45557c.tar.gz
utf8.c: Move ARGS_ASSERT to earlier in function
to a place where people more expect to see it.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index 70620af240..820fa823a9 100644
--- a/utf8.c
+++ b/utf8.c
@@ -3924,6 +3924,8 @@ Perl__swash_to_invlist(pTHX_ SV* const swash)
SV* invlist;
+ PERL_ARGS_ASSERT__SWASH_TO_INVLIST;
+
/* If not a hash, it must be the swash's inversion list instead */
if (SvTYPE(hv) != SVt_PVHV) {
return (SV*) hv;
@@ -3940,8 +3942,6 @@ Perl__swash_to_invlist(pTHX_ SV* const swash)
bits = SvUV(*bitssvp);
octets = bits >> 3; /* if bits == 1, then octets == 0 */
- PERL_ARGS_ASSERT__SWASH_TO_INVLIST;
-
/* read $swash->{LIST} */
if (SvPOK(*listsvp)) {
l = (U8*)SvPV(*listsvp, lcur);