[m-dev.] for review: rename base_type_* to type_ctor_* (part 2/2)
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Mar 18 04:26:33 AEDT 1999
On 17-Mar-1999, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> Index: runtime/mercury_bootstrap.h
> ===================================================================
> RCS file: /home/mercury1/repository/mercury/runtime/mercury_bootstrap.h,v
> retrieving revision 1.4
> diff -u -r1.4 mercury_bootstrap.h
> --- mercury_bootstrap.h 1998/12/16 16:35:38 1.4
> +++ mercury_bootstrap.h 1999/03/17 01:36:24
> @@ -50,23 +50,121 @@
> } while (0)
>
>
> -#define TYPELAYOUT_UNASSIGNED_VALUE (MR_TYPELAYOUT_UNASSIGNED_VALUE)
> -#define TYPELAYOUT_UNUSED_VALUE (MR_TYPELAYOUT_UNUSED_VALUE)
> -#define TYPELAYOUT_STRING_VALUE (MR_TYPELAYOUT_STRING_VALUE)
> -#define TYPELAYOUT_FLOAT_VALUE (MR_TYPELAYOUT_FLOAT_VALUE)
> -#define TYPELAYOUT_INT_VALUE (MR_TYPELAYOUT_INT_VALUE)
> -#define TYPELAYOUT_CHARACTER_VALUE (MR_TYPELAYOUT_CHARACTER_VALUE)
> -#define TYPELAYOUT_UNIV_VALUE (MR_TYPELAYOUT_UNIV_VALUE)
> -#define TYPELAYOUT_PREDICATE_VALUE (MR_TYPELAYOUT_PREDICATE_VALUE)
> -#define TYPELAYOUT_VOID_VALUE (MR_TYPELAYOUT_VOID_VALUE)
> -#define TYPELAYOUT_ARRAY_VALUE (MR_TYPELAYOUT_ARRAY_VALUE)
> -#define TYPELAYOUT_TYPEINFO_VALUE (MR_TYPELAYOUT_TYPEINFO_VALUE)
> -#define TYPELAYOUT_C_POINTER_VALUE (MR_TYPELAYOUT_C_POINTER_VALUE)
> +#define TYPE_CTOR_LAYOUT_UNASSIGNED_VALUE (MR_TYPE_CTOR_LAYOUT_UNASSIGNED_VALUE)
> +#define TYPE_CTOR_LAYOUT_UNUSED_VALUE (MR_TYPE_CTOR_LAYOUT_UNUSED_VALUE)
> +#define TYPE_CTOR_LAYOUT_STRING_VALUE (MR_TYPE_CTOR_LAYOUT_STRING_VALUE)
> +#define TYPE_CTOR_LAYOUT_FLOAT_VALUE (MR_TYPE_CTOR_LAYOUT_FLOAT_VALUE)
> +#define TYPE_CTOR_LAYOUT_INT_VALUE (MR_TYPE_CTOR_LAYOUT_INT_VALUE)
> +#define TYPE_CTOR_LAYOUT_CHARACTER_VALUE (MR_TYPE_CTOR_LAYOUT_CHARACTER_VALUE)
> +#define TYPE_CTOR_LAYOUT_UNIV_VALUE (MR_TYPE_CTOR_LAYOUT_UNIV_VALUE)
> +#define TYPE_CTOR_LAYOUT_PREDICATE_VALUE (MR_TYPE_CTOR_LAYOUT_PREDICATE_VALUE)
> +#define TYPE_CTOR_LAYOUT_VOID_VALUE (MR_TYPE_CTOR_LAYOUT_VOID_VALUE)
> +#define TYPE_CTOR_LAYOUT_ARRAY_VALUE (MR_TYPE_CTOR_LAYOUT_ARRAY_VALUE)
> +#define TYPE_CTOR_LAYOUT_TYPEINFO_VALUE (MR_TYPE_CTOR_LAYOUT_TYPEINFO_VALUE)
> +#define TYPE_CTOR_LAYOUT_C_POINTER_VALUE (MR_TYPE_CTOR_LAYOUT_C_POINTER_VALUE)
It doesn't really make sense to rename those, since they're
only there for bootstrapping anyway. I think you can just
delete those definitions, can't you?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list