Commit Graph

3 Commits

Author SHA1 Message Date
Mark Brown
27458364f2 Update some macro names.
Estimated hours taken: 0.1

trace/README:
	Update some macro names.
1999-03-22 05:55:45 +00:00
Fergus Henderson
7c726be731 Improve the documentation by describing the use of `saved_regs',
Estimated hours taken: 0.25

trace/README:
	Improve the documentation by describing the use of `saved_regs',
	and fix a copy of types (s/_hp()/_regs()/).
1998-11-14 03:39:44 +00:00
Fergus Henderson
55cbda8153 Fix a bug in mdb (for non-conservative-gc grades) where manual memory
Estimated hours taken: 8

Fix a bug in mdb (for non-conservative-gc grades) where manual memory
allocations in the tracer and memory allocations in the Mercury code
that the tracer calls were overwriting each other, due to confusion
about whether the heap pointer was in its real reg or in its fake_reg
slot.

trace/README:
	Document some conventions for dealing with registers,

trace/mercury_trace_util.h:
	Define macros to allow easy adherence to those conventions.

trace/mercury_trace_external.c:
trace/mercury_trace_help.c:
trace/mercury_trace_internal.c:
	Use the new macros to enforce adherence to the conventions.
1998-11-06 10:35:41 +00:00