Mercurial > emacs
comparison src/alloc.c @ 31829:43566b0aec59
Avoid some more compiler warnings.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Thu, 21 Sep 2000 20:54:57 +0000 |
| parents | 717e7e2ca4fd |
| children | fb63b2aeedf0 |
comparison
equal
deleted
inserted
replaced
| 31828:c6cdd9deac21 | 31829:43566b0aec59 |
|---|---|
| 2932 mark_p = !XMARKBIT (XOVERLAY (obj)->plist); | 2932 mark_p = !XMARKBIT (XOVERLAY (obj)->plist); |
| 2933 break; | 2933 break; |
| 2934 } | 2934 } |
| 2935 } | 2935 } |
| 2936 break; | 2936 break; |
| 2937 | |
| 2938 case Lisp_Int: | |
| 2939 break; | |
| 2937 } | 2940 } |
| 2938 | 2941 |
| 2939 if (mark_p) | 2942 if (mark_p) |
| 2940 { | 2943 { |
| 2941 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES | 2944 #if GC_MARK_STACK == GC_USE_GCPROS_CHECK_ZOMBIES |
| 3136 | 3139 |
| 3137 static void | 3140 static void |
| 3138 mark_stack () | 3141 mark_stack () |
| 3139 { | 3142 { |
| 3140 jmp_buf j; | 3143 jmp_buf j; |
| 3141 int stack_grows_down_p = (char *) &j > (char *) stack_base; | 3144 volatile int stack_grows_down_p = (char *) &j > (char *) stack_base; |
| 3142 void *end; | 3145 void *end; |
| 3143 | 3146 |
| 3144 /* This trick flushes the register windows so that all the state of | 3147 /* This trick flushes the register windows so that all the state of |
| 3145 the process is contained in the stack. */ | 3148 the process is contained in the stack. */ |
| 3146 #ifdef sparc | 3149 #ifdef sparc |
| 3360 XSETVECTOR (obj, vec); | 3363 XSETVECTOR (obj, vec); |
| 3361 return obj; | 3364 return obj; |
| 3362 } | 3365 } |
| 3363 else if (MARKERP (obj)) | 3366 else if (MARKERP (obj)) |
| 3364 error ("Attempt to copy a marker to pure storage"); | 3367 error ("Attempt to copy a marker to pure storage"); |
| 3365 else | 3368 |
| 3366 return obj; | 3369 return obj; |
| 3367 } | 3370 } |
| 3368 | 3371 |
| 3369 | 3372 |
| 3370 | 3373 |
| 3371 /*********************************************************************** | 3374 /*********************************************************************** |
