From 1701cf5db1e219aa8f8ee075a0c5966392df9763 Mon Sep 17 00:00:00 2001 From: Stephen Adams Date: Thu, 27 Jul 1995 00:23:31 +0000 Subject: [PATCH] New type-codes: new precomputed trap constants. --- v8/src/microcode/trap.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/v8/src/microcode/trap.h b/v8/src/microcode/trap.h index 45e47b64e..01e3bd600 100644 --- a/v8/src/microcode/trap.h +++ b/v8/src/microcode/trap.h @@ -30,7 +30,7 @@ Technology nor of any adaptation thereof in any advertising, promotional, or sales literature without prior written consent from MIT in each case. */ -/* $Id: trap.h,v 9.43 1993/06/24 07:10:00 gjr Exp $ */ +/* $Id: trap.h,v 9.44 1995/07/27 00:23:31 adams Exp $ */ /* Kinds of traps: @@ -84,28 +84,28 @@ MIT in each case. */ #ifdef b32 /* 32 bit objects */ #if (TYPE_CODE_LENGTH == 8) -#define UNASSIGNED_OBJECT 0x32000000 -#define DANGEROUS_UNASSIGNED_OBJECT 0x32000001 -#define UNBOUND_OBJECT 0x32000002 -#define DANGEROUS_UNBOUND_OBJECT 0x32000003 -#define ILLEGAL_OBJECT 0x32000004 -#define DANGEROUS_ILLEGAL_OBJECT 0x32000005 -#define EXPENSIVE_OBJECT 0x32000006 -#define DANGEROUS_EXPENSIVE_OBJECT 0x32000007 +#define UNASSIGNED_OBJECT 0x1C000000 +#define DANGEROUS_UNASSIGNED_OBJECT 0x1C000001 +#define UNBOUND_OBJECT 0x1C000002 +#define DANGEROUS_UNBOUND_OBJECT 0x1C000003 +#define ILLEGAL_OBJECT 0x1C000004 +#define DANGEROUS_ILLEGAL_OBJECT 0x1C000005 +#define EXPENSIVE_OBJECT 0x1C000006 +#define DANGEROUS_EXPENSIVE_OBJECT 0x1C000007 #endif /* (TYPE_CODE_LENGTH == 8) */ #if (TYPE_CODE_LENGTH == 6) -#define UNASSIGNED_OBJECT 0xc8000000 -#define DANGEROUS_UNASSIGNED_OBJECT 0xc8000001 -#define UNBOUND_OBJECT 0xc8000002 -#define DANGEROUS_UNBOUND_OBJECT 0xc8000003 -#define ILLEGAL_OBJECT 0xc8000004 -#define DANGEROUS_ILLEGAL_OBJECT 0xc8000005 -#define EXPENSIVE_OBJECT 0xc8000006 -#define DANGEROUS_EXPENSIVE_OBJECT 0xc8000007 +#define UNASSIGNED_OBJECT 0x70000000 +#define DANGEROUS_UNASSIGNED_OBJECT 0x70000001 +#define UNBOUND_OBJECT 0x70000002 +#define DANGEROUS_UNBOUND_OBJECT 0x70000003 +#define ILLEGAL_OBJECT 0x70000004 +#define DANGEROUS_ILLEGAL_OBJECT 0x70000005 +#define EXPENSIVE_OBJECT 0x70000006 +#define DANGEROUS_EXPENSIVE_OBJECT 0x70000007 #endif /* (TYPE_CODE_LENGTH == 6) */ -#if (TC_REFERENCE_TRAP != 0x32) +#if (TC_REFERENCE_TRAP != 0x1C) #include "error: trap.h and types.h are inconsistent" #endif -- 2.25.1