aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 56a535411c8..c5a4f425f6e 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -7216,21 +7216,6 @@ die (const char *msg, const char *file, int line)
7216 7216
7217#if defined (ENABLE_CHECKING) && USE_STACK_LISP_OBJECTS 7217#if defined (ENABLE_CHECKING) && USE_STACK_LISP_OBJECTS
7218 7218
7219/* Debugging check whether STR is ASCII-only. */
7220
7221const char *
7222verify_ascii (const char *str)
7223{
7224 const unsigned char *ptr = (unsigned char *) str, *end = ptr + strlen (str);
7225 while (ptr < end)
7226 {
7227 int c = STRING_CHAR_ADVANCE (ptr);
7228 if (!ASCII_CHAR_P (c))
7229 emacs_abort ();
7230 }
7231 return str;
7232}
7233
7234/* Stress alloca with inconveniently sized requests and check 7219/* Stress alloca with inconveniently sized requests and check
7235 whether all allocated areas may be used for Lisp_Object. */ 7220 whether all allocated areas may be used for Lisp_Object. */
7236 7221