Add a new option, --branch-delay-slot, intended for use by mc on

Estimated hours taken: 3

options:
	Add a new option, --branch-delay-slot, intended for use by mc on
	the basis of the configuattion script. It says whether the machine
	architecture has delays slots on branches.

	The setting of option should affect whether we set
	--optimize-delay-slots at -O2, but this doesn't work yet.

hlds_goal:
	Add an extra field to hold follow_vars infromation to disjunctions,
	switches and if-then-elses. I intend to use this information to
	generate better code.

*.m:
	Changes to accommodate the extra field.
This commit is contained in:
Zoltan Somogyi
1996-04-20 08:37:36 +00:00
parent db28246853
commit d344165793
42 changed files with 463 additions and 418 deletions

View File

@@ -26,7 +26,7 @@
:- implementation.
:- import_module hlds_module, hlds_data, options, globals, code_gen, code_exprn.
:- import_module hlds_module, hlds_data, options, globals, code_gen.
:- import_module map, tree, type_util, std_util, int, require.
% where is the secondary tag (if any) for this primary tag value