mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
--with-wide-int is a no-op on 64-bit hosts
* configure.ac: Clarify wording for --with-wide-int help. * src/pdumper.c (dump_vectorlike_generic): Do the eassert even if --with-wide-int was specified unnecessarily.
This commit is contained in:
parent
22446569cd
commit
9d11f127f1
@ -414,7 +414,11 @@ this option's value should be 'yes', 'no', 'lucid', 'athena', 'motif', 'gtk',
|
||||
with_x_toolkit=$val
|
||||
])
|
||||
|
||||
OPTION_DEFAULT_OFF([wide-int], [prefer wide Emacs integers (typically 62-bit); allows buffer and string size up to 2GB on 32-bit hosts, at the cost of 10% to 30% slowdown of Lisp interpreter and larger memory footprint])
|
||||
OPTION_DEFAULT_OFF([wide-int],
|
||||
[prefer wide Emacs integers (typically 62-bit);
|
||||
on 32-bit hosts, this allows buffer and string size up to 2GB,
|
||||
at the cost of 10% to 30% slowdown of Lisp interpreter
|
||||
and larger memory footprint])
|
||||
if test "$with_wide_int" = yes; then
|
||||
AC_DEFINE([WIDE_EMACS_INT], 1, [Use long long for EMACS_INT if available.])
|
||||
fi
|
||||
|
@ -2603,7 +2603,7 @@ dump_vectorlike_generic (struct dump_context *ctx,
|
||||
Lisp_Object out;
|
||||
const Lisp_Object *vslot = &v->contents[i];
|
||||
/* In the wide case, we're always misaligned. */
|
||||
#ifndef WIDE_EMACS_INT
|
||||
#if INTPTR_MAX == EMACS_INT_MAX
|
||||
eassert (ctx->offset % sizeof (out) == 0);
|
||||
#endif
|
||||
dump_object_start (ctx, &out, sizeof (out));
|
||||
|
Loading…
Reference in New Issue
Block a user