display more information. */
#define SCHEME_ALIGNMENT_MASK ((sizeof (SCHEME_OBJECT)) - 1)
-#define FREE_PARANOIA_MARGIN 0x100
#define ALIGNED_P(addr) \
((((unsigned long) (addr)) & SCHEME_ALIGNMENT_MASK) == 0)
new_sp = 0;
/* Sanity-check Free. */
- if ((new_sp != 0)
- && (ADDRESS_IN_HEAP_P (Free))
- && (ALIGNED_P (Free)))
+ if (!((new_sp != 0)
+ && (ADDRESS_IN_HEAP_P (Free))
+ && (ALIGNED_P (Free))))
{
- if (FREE_OK_P (Free))
- {
- Free += FREE_PARANOIA_MARGIN;
- if (!FREE_OK_P (Free))
- Free = heap_alloc_limit;
- }
+#ifdef ENABLE_DEBUGGING_TOOLS
+ outf_error ("Resetting bogus Free in continue_from_trap.\n");
+ outf_flush_error ();
+#endif
+ Free = heap_alloc_limit;
}
- else
- Free = heap_alloc_limit;
/* Encode the registers. */
(recovery_info . extra_trap_info) =