[m-dev.] diff: dummy decls for pred and func type_ctor_infos

Peter Ross petdr at cs.mu.OZ.AU
Thu Jul 13 01:22:07 AEST 2000


Hi,


===================================================================


Estimated hours taken: 0.25

trace/mercury_trace_vars.c:
    If we are compiling in an MLDS grade the real declarations for
    mercury_data___type_ctor_info_func_0 and
    mercury_data___type_ctor_info_pred_0 are not available so reinstate
    the dummy declarations.


Index: mercury_trace_vars.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_vars.c,v
retrieving revision 1.17
diff -u -r1.17 mercury_trace_vars.c
--- mercury_trace_vars.c	2000/07/12 13:54:41	1.17
+++ mercury_trace_vars.c	2000/07/12 15:17:19
@@ -140,6 +140,11 @@
 	mercury_data_std_util__type_ctor_info_type_ctor_desc_0;
 extern	struct MR_TypeCtorInfo_Struct	mercury_data___type_ctor_info_void_0;
 
+#ifdef MR_HIGHLEVEL_CODE
+  extern struct MR_TypeCtorInfo_Struct   mercury_data___type_ctor_info_func_0;
+  extern struct MR_TypeCtorInfo_Struct   mercury_data___type_ctor_info_pred_0;
+#endif
+
 #ifdef	NATIVE_GC
 extern	struct MR_TypeCtorInfo_Struct	mercury_data___type_ctor_info_succip_0;
 extern	struct MR_TypeCtorInfo_Struct	mercury_data___type_ctor_info_hp_0;

--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list