for review: tracing and excess_assign
Zoltan Somogyi
zs at cs.mu.OZ.AU
Sun Feb 8 16:56:16 AEDT 1998
Fergus should review this.
Estimated hours taken: 0.1
compiler/handle_options.m:
Turn on excess_assign if generate_trace is on. This excludes junk
vars from the trace and removes a spurious test failure on munta,
where the absence of excess_assign caused the trace to report
goal paths different from those expected.
Zoltan.
cvs diff: Diffing .
cvs diff: Diffing bindist
cvs diff: Diffing boehm_gc
cvs diff: Diffing boehm_gc/Mac_files
cvs diff: Diffing boehm_gc/cord
cvs diff: Diffing boehm_gc/cord/private
cvs diff: Diffing boehm_gc/include
cvs diff: Diffing boehm_gc/include/private
cvs diff: Diffing bytecode
cvs diff: Diffing bytecode/test
cvs diff: Diffing compiler
Index: compiler/handle_options.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/handle_options.m,v
retrieving revision 1.42
diff -u -u -r1.42 handle_options.m
--- 1.42 1998/02/03 08:18:20
+++ handle_options.m 1998/02/07 09:01:47
@@ -259,6 +259,8 @@
% --generate-trace requires
% - disabling optimizations that would change
% the trace being generated
+ % - enabling excess_assign to exclude junk vars from the trace
+ % (and to ensure consistent paths across optimization levels)
% - enabling stack layouts
% - enabling typeinfo liveness
globals__io_lookup_bool_option(generate_trace, Trace),
@@ -271,6 +273,7 @@
globals__io_set_option(optimize_duplicate_calls, bool(no)),
globals__io_set_option(optimize_constructor_last_call,
bool(no)),
+ globals__io_set_option(excess_assign, bool(yes)),
globals__io_set_option(trace_stack_layout, bool(yes)),
globals__io_set_option(typeinfo_liveness, bool(yes))
;
cvs diff: Diffing compiler/notes
cvs diff: Diffing doc
cvs diff: Diffing extras
cvs diff: Diffing extras/cgi
cvs diff: Diffing extras/complex_numbers
cvs diff: Diffing extras/complex_numbers/samples
cvs diff: Diffing extras/complex_numbers/tests
cvs diff: Diffing extras/graphics
cvs diff: Diffing extras/graphics/Togl-1.2
cvs diff: Diffing extras/graphics/samples
cvs diff: Diffing extras/graphics/samples/calc
cvs diff: Diffing extras/graphics/samples/maze
cvs diff: Diffing extras/odbc
cvs diff: Diffing extras/references
cvs diff: Diffing extras/trailed_update
cvs diff: Diffing extras/trailed_update/samples
cvs diff: Diffing library
cvs diff: Diffing lp_solve
cvs diff: Diffing lp_solve/lp_examples
cvs diff: Diffing profiler
cvs diff: Diffing runtime
cvs diff: Diffing runtime/machdeps
cvs diff: Diffing samples
cvs diff: Diffing samples/c_interface
cvs diff: Diffing samples/c_interface/c_calls_mercury
cvs diff: Diffing samples/c_interface/cplusplus_calls_mercury
cvs diff: Diffing samples/c_interface/mercury_calls_c
cvs diff: Diffing samples/c_interface/mercury_calls_cplusplus
cvs diff: Diffing samples/c_interface/simpler_c_calls_mercury
cvs diff: Diffing samples/c_interface/simpler_cplusplus_calls_mercury
cvs diff: Diffing samples/diff
cvs diff: Diffing scripts
cvs diff: Diffing tests
cvs diff: Diffing tests/benchmarks
cvs diff: Diffing tests/general
cvs diff: Diffing tests/hard_coded
cvs diff: Diffing tests/hard_coded/typeclasses
cvs diff: Diffing tests/invalid
cvs diff: Diffing tests/misc_tests
cvs diff: Diffing trial
cvs diff: Diffing util
More information about the developers
mailing list