diff options
| author | Paul Eggert | 2013-06-20 07:47:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-06-20 07:47:46 -0700 |
| commit | 5013fc0876296bde339d1cbbdfb19a0cfa1c4079 (patch) | |
| tree | 1c2b476ff4e84f7edf5cb0e6e931a297ad076f12 /src/alloc.c | |
| parent | 89561f72e587677618afa2fd6962704e841e39e8 (diff) | |
| download | emacs-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.c | 2 |
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; | |||
| 6515 | void | 6515 | void |
| 6516 | die (const char *msg, const char *file, int line) | 6516 | die (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 | } |