diff src/alloc.c @ 26372:f35140f031b4

Remove conditional compilation on USE_TEXT_PROPERTIES.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 07 Nov 1999 15:52:40 +0000
parents 7b0217d9259c
children cbf297593a79
line wrap: on
line diff
--- a/src/alloc.c	Sun Nov 07 13:07:56 1999 +0000
+++ b/src/alloc.c	Sun Nov 07 15:52:40 1999 +0000
@@ -483,7 +483,6 @@
 
 /* Interval allocation.  */
 
-#ifdef USE_TEXT_PROPERTIES
 #define INTERVAL_BLOCK_SIZE \
   ((1020 - sizeof (struct interval_block *)) / sizeof (struct interval))
 
@@ -596,14 +595,6 @@
      } 								\
 }
 
-#else  /* no interval use */
-
-#define INIT_INTERVALS
-
-#define UNMARK_BALANCE_INTERVALS(i)
-#define MARK_INTERVAL_TREE(i)
-
-#endif /* no interval use */
 
 /* Floating point allocation.  */
 
@@ -1554,9 +1545,7 @@
 
   /* We must give strings in pure storage some kind of interval.  So we
      give them a null one.  */
-#if defined (USE_TEXT_PROPERTIES)
   XSTRING (new)->intervals = NULL_INTERVAL;
-#endif
   pureptr += size;
   return new;
 }
@@ -1972,12 +1961,8 @@
 		(make_number (0), make_number (0)),
 #endif /* not LISP_FLOAT_TYPE */
 		Fcons (Fcons
-#ifdef USE_TEXT_PROPERTIES
 		       (make_number (total_intervals),
 			make_number (total_free_intervals)),
-#else /* not USE_TEXT_PROPERTIES */
-		       (make_number (0), make_number (0)),
-#endif /* not USE_TEXT_PROPERTIES */
 		       Qnil)))))));
 }
 
@@ -2787,7 +2772,6 @@
   }
 #endif /* LISP_FLOAT_TYPE */
 
-#ifdef USE_TEXT_PROPERTIES
   /* Put all unmarked intervals on free list */
   {
     register struct interval_block *iblk;
@@ -2837,7 +2821,6 @@
     total_intervals = num_used;
     total_free_intervals = num_free;
   }
-#endif /* USE_TEXT_PROPERTIES */
 
   /* Put all unmarked symbols on free list */
   {
@@ -3176,7 +3159,6 @@
 	      /* Store the actual size in the size field.  */
 	      newaddr->size = size;
 
-#ifdef USE_TEXT_PROPERTIES
 	      /* Now that the string has been relocated, rebalance its
                  interval tree, and update the tree's parent pointer. */
 	      if (! NULL_INTERVAL_P (newaddr->intervals))
@@ -3185,7 +3167,6 @@
 		  XSETSTRING (* (Lisp_Object *) &newaddr->intervals->parent,
 			      newaddr);
 		}
-#endif /* USE_TEXT_PROPERTIES */
 	    }
 	  else if (size_byte < 0)
 	    size_byte = size;