/* -*-C-*-
-$Id: cmpint.c,v 1.84 1994/11/28 04:03:58 cph Exp $
+$Id: cmpint.c,v 1.85 1995/10/05 03:27:29 cph Exp $
-Copyright (c) 1989-1994 Massachusetts Institute of Technology
+Copyright (c) 1989-95 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#define INVOKE_RETURN_ADDRESS() do \
{ \
- if (((long) Free) >= ((long) (Regs[REGBLOCK_MEMTOP]))) \
+ if (((long) (ADDR_TO_SCHEME_ADDR (Free))) \
+ >= ((long) (Regs[REGBLOCK_MEMTOP]))) \
return (compiler_interrupt_common (0, Val)); \
else \
RETURN_TO_SCHEME (OBJECT_ADDRESS (STACK_POP ())); \
/* Attempt to process interrupts before really proceeding. */
- if (((long) Free) >= ((long) (Regs[REGBLOCK_MEMTOP])))
+ if (((long) (ADDR_TO_SCHEME_ADDR (Free)))
+ >= ((long) (Regs[REGBLOCK_MEMTOP])))
{
STACK_PUSH (FIXNUM_ZERO + REFLECT_CODE_CC_BKPT);
STACK_PUSH (reflect_to_interface);
/* -*-C-*-
-$Id: cmpint.c,v 1.85 1995/07/26 19:08:48 adams Exp $
+$Id: cmpint.c,v 1.86 1995/10/05 03:27:42 cph Exp $
Copyright (c) 1989-1995 Massachusetts Institute of Technology
EXFUN (compiler_interrupt_common, (SCHEME_ADDR, SCHEME_OBJECT));
#define INVOKE_RETURN_ADDRESS(Value) do \
-{ if (((long) Free) >= ((long) (Regs[REGBLOCK_MEMTOP]))) \
+{ if (((long) (ADDR_TO_SCHEME_ADDR (Free))) \
+ >= ((long) (Regs[REGBLOCK_MEMTOP]))) \
return (compiler_interrupt_common (0, Value)); \
else \
{ SCHEME_OBJECT ret = STACK_POP(); \
- STACK_PUSH (SHARP_F); \
+ STACK_PUSH (SHARP_F); \
STACK_PUSH (Value); \
STACK_PUSH (FIXNUM_ZERO + 1); \
RETURN_TO_SCHEME (OBJECT_ADDRESS (ret)); \
- } \
+ } \
} while (0)
#endif /* i386 */
case REFLECT_CODE_CC_BKPT:
{ unsigned long value;
/* Attempt to process interrupts before really proceeding. */
- if (((long) Free) >= ((long) (Regs[REGBLOCK_MEMTOP])))
+ if (((long) (ADDR_TO_SCHEME_ADDR (Free)))
+ >= ((long) (Regs[REGBLOCK_MEMTOP])))
{ STACK_PUSH (FIXNUM_ZERO + REFLECT_CODE_CC_BKPT);
STACK_PUSH (reflect_to_interface);
return (compiler_interrupt_common (0, SHARP_F));