aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2013-06-20 07:47:46 -0700
committerPaul Eggert2013-06-20 07:47:46 -0700
commit5013fc0876296bde339d1cbbdfb19a0cfa1c4079 (patch)
tree1c2b476ff4e84f7edf5cb0e6e931a297ad076f12 /src/alloc.c
parent89561f72e587677618afa2fd6962704e841e39e8 (diff)
downloademacs-5013fc0876296bde339d1cbbdfb19a0cfa1c4079.tar.gz
emacs-5013fc0876296bde339d1cbbdfb19a0cfa1c4079.zip
* alloc.c (die): Move "assertion failed" string here ...
* lisp.h (eassert): ... from here. Also, suppress evaluation of COND when SUPPRESS_CHECKING. This shrinks the executable text size by 0.8% to 2.2% when configured with --enable-checking, depending on optimization flags (GCC 4.8.1 x86-64).
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 3eb7e982e0f..d277dd2419b 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6515,7 +6515,7 @@ bool suppress_checking;
6515void 6515void
6516die (const char *msg, const char *file, int line) 6516die (const char *msg, const char *file, int line)
6517{ 6517{
6518 fprintf (stderr, "\r\n%s:%d: Emacs fatal error: %s\r\n", 6518 fprintf (stderr, "\r\n%s:%d: Emacs fatal error: assertion failed: %s\r\n",
6519 file, line, msg); 6519 file, line, msg);
6520 terminate_due_to_signal (SIGABRT, INT_MAX); 6520 terminate_due_to_signal (SIGABRT, INT_MAX);
6521} 6521}