[m-rev.] diff: fix a typo in the deep profiling runtime

Julien Fischer juliensf at cs.mu.OZ.AU
Fri Jun 3 05:26:45 AEST 2005


Estimated hours taken: 6
Branches: main, release

runtime/mercury_deep_profiling.c:
	Fix the typo that has been causing the runtime to abort
	when writing out the Deep.data files.

Julien.

Index: runtime/mercury_deep_profiling.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_deep_profiling.c,v
retrieving revision 1.16
diff -u -r1.16 mercury_deep_profiling.c
--- runtime/mercury_deep_profiling.c	19 Apr 2005 08:27:23 -0000	1.16
+++ runtime/mercury_deep_profiling.c	2 Jun 2005 18:40:30 -0000
@@ -1293,7 +1293,7 @@
 MR_insert_call_site_static(const MR_CallSiteStatic *css, int *id,
     MR_bool *already_written, MR_bool init_written)
 {
-    return MR_hash_table_insert_INTERNAL(MR_call_site_dynamic_table,
+    return MR_hash_table_insert_INTERNAL(MR_call_site_static_table,
         (const void *) css, id, already_written, init_written);
 }


--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list