changeset 111543:317ffffec7f3

* src/data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 14 Nov 2010 21:52:58 -0800
parents a62d0a8c179e
children 107fd4b37e9d
files src/ChangeLog src/data.c
diffstat 2 files changed, 4 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Nov 15 02:40:42 2010 +0000
+++ b/src/ChangeLog	Sun Nov 14 21:52:58 2010 -0800
@@ -1,3 +1,7 @@
+2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.
+
 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
 
 	* w32fns.c (Fx_create_frame):
--- a/src/data.c	Mon Nov 15 02:40:42 2010 +0000
+++ b/src/data.c	Sun Nov 14 21:52:58 2010 -0800
@@ -135,21 +135,6 @@
   xsignal3 (Qargs_out_of_range, a1, a2, a3);
 }
 
-/* On some machines, XINT needs a temporary location.
-   Here it is, in case it is needed.  */
-
-int sign_extend_temp;
-
-/* On a few machines, XINT can only be done by calling this.  */
-
-int
-sign_extend_lisp_int (EMACS_INT num)
-{
-  if (num & (((EMACS_INT) 1) << (VALBITS - 1)))
-    return num | (((EMACS_INT) (-1)) << VALBITS);
-  else
-    return num & ((((EMACS_INT) 1) << VALBITS) - 1);
-}
 
 /* Data type predicates */