From 8b60227186c4929e5a2e7fb7de965827c7916ec8 Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 18 Dec 1984 16:58:11 +0000 Subject: [PATCH] Added pointer checks. --- mach/mantra/int/deffile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mach/mantra/int/deffile b/mach/mantra/int/deffile index 6ed008612..ea62078b6 100644 --- a/mach/mantra/int/deffile +++ b/mach/mantra/int/deffile @@ -74,5 +74,14 @@ #endif #define adroff move.b (a3)+,(a1) ; move.b (a3)+,1(a1) #define claimstack tst.b -1024(sp) - +#define locptr cmp.l sp,a0 ;\ + bcc 6f +#define heaptr cmp.l hp,a0 ;\ + bhi 7f ;\ + cmp.l tblmax,a0 ;\ + bcc 6f +#define extptr cmp.l globmax,a0 ;\ + bcc 7f ;\ + cmp.l a6,a0 ;\ + bcc 6f -- 2.34.1