aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/data.c b/src/data.c
index 78ccb75ca89..924a717cf3d 100644
--- a/src/data.c
+++ b/src/data.c
@@ -135,21 +135,6 @@ args_out_of_range_3 (Lisp_Object a1, Lisp_Object a2, Lisp_Object a3)
135 xsignal3 (Qargs_out_of_range, a1, a2, a3); 135 xsignal3 (Qargs_out_of_range, a1, a2, a3);
136} 136}
137 137
138/* On some machines, XINT needs a temporary location.
139 Here it is, in case it is needed. */
140
141int sign_extend_temp;
142
143/* On a few machines, XINT can only be done by calling this. */
144
145int
146sign_extend_lisp_int (EMACS_INT num)
147{
148 if (num & (((EMACS_INT) 1) << (VALBITS - 1)))
149 return num | (((EMACS_INT) (-1)) << VALBITS);
150 else
151 return num & ((((EMACS_INT) 1) << VALBITS) - 1);
152}
153 138
154/* Data type predicates */ 139/* Data type predicates */
155 140