summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-07-12 13:39:19 +0100
committerNicholas Clark <nick@ccl4.org>2010-07-12 13:46:23 +0100
commit9df83ffded21f5c1d01d1ef847c3447b6553810f (patch)
tree1991f07e53136227c824cb719a2c14fdd74a4a27 /embed.h
parent6ef2ab89d2567e144b289574a2e087dd7eec7894 (diff)
downloadperl-9df83ffded21f5c1d01d1ef847c3447b6553810f.tar.gz
Create S_assert_uft8_cache_coherent() with one copy of the cache panic code.
Replacing 4 copies of this debugging-only routine with 1 reduces source and object code size.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index b34fffbf65..d7a62ddfee 100644
--- a/embed.h
+++ b/embed.h
@@ -1597,6 +1597,7 @@
#define utf8_mg_len_cache_update S_utf8_mg_len_cache_update
#define utf8_mg_pos_cache_update S_utf8_mg_pos_cache_update
#define sv_pos_b2u_midway S_sv_pos_b2u_midway
+#define assert_uft8_cache_coherent S_assert_uft8_cache_coherent
#define F0convert S_F0convert
#endif
# if defined(PERL_OLD_COPY_ON_WRITE)
@@ -4048,6 +4049,7 @@
#define utf8_mg_len_cache_update(a,b,c) S_utf8_mg_len_cache_update(aTHX_ a,b,c)
#define utf8_mg_pos_cache_update(a,b,c,d,e) S_utf8_mg_pos_cache_update(aTHX_ a,b,c,d,e)
#define sv_pos_b2u_midway(a,b,c,d) S_sv_pos_b2u_midway(aTHX_ a,b,c,d)
+#define assert_uft8_cache_coherent(a,b,c,d) S_assert_uft8_cache_coherent(aTHX_ a,b,c,d)
#define F0convert S_F0convert
#endif
# if defined(PERL_OLD_COPY_ON_WRITE)