summaryrefslogtreecommitdiff
path: root/src/macfont.m
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-10-10 23:32:29 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-10-10 23:32:29 -0700
commitb9ff995e4c091ca99c8752bb996e155ce7147a00 (patch)
tree2606b847e60957359df7942004b774b4c68b119f /src/macfont.m
parent33ac026599404c7d5177eecb4fcd0aa527180ee2 (diff)
* lisp.h (eassume): New macro.
Also, include <verify.h>, for 'assume'. * alloc.c (bool_vector_payload_bytes, Fmake_bool_vector) (vroundup, vector_nbytes): * data.c (bool_vector_spare_mask, bool_vector_binop_driver) (Fbool_vector_not, Fbool_vector_count_matches) (Fbool_vector_count_matches_at): Use eassume, not eassert. * casetab.c (set_identity, shuffle): * composite.c (composition_gstring_put_cache): * dispnew.c (update_frame_1): * ftfont.c (ftfont_shape_by_flt): * image.c (gif_load): * intervals.c (offset_intervals): * macfont.m (macfont_shape): Remove calls to 'assume' that are no longer needed, because --enable-gcc-warnings no longer generates bogus warnings when these calls are removed.
Diffstat (limited to 'src/macfont.m')
-rw-r--r--src/macfont.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/macfont.m b/src/macfont.m
index 206a810c23..b3bf96d8c4 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2817,7 +2817,6 @@ macfont_shape (Lisp_Object lgstring)
}
len = i;
- assume (len <= TYPE_MAXIMUM (EMACS_INT) - 2);
if (INT_MAX / 2 < len)
memory_full (SIZE_MAX);