mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 04:14:06 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user