mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-18 23:35:25 +00:00
Import only one compiler module per line. Sort the blocks of imports.
Estimated hours taken: 2 Branches: main compiler/*.m: Import only one compiler module per line. Sort the blocks of imports. This makes it easier to merge in changes. In a couple of places, remove unnecessary imports.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
%---------------------------------------------------------------------------%
|
||||
% Copyright (C) 1997-1998 The University of Melbourne.
|
||||
% Copyright (C) 1997-1998, 2003 The University of Melbourne.
|
||||
% This file may only be copied under the terms of the GNU General
|
||||
% Public License - see the file COPYING in the Mercury distribution.
|
||||
%---------------------------------------------------------------------------%
|
||||
@@ -16,15 +16,19 @@
|
||||
|
||||
:- interface.
|
||||
|
||||
:- import_module hlds__hlds_goal, backend_libs__code_model, ll_backend__llds.
|
||||
:- import_module backend_libs__code_model.
|
||||
:- import_module hlds__hlds_goal.
|
||||
:- import_module ll_backend__code_info.
|
||||
:- import_module ll_backend__llds.
|
||||
|
||||
:- pred commit_gen__generate_commit(code_model::in, hlds_goal::in,
|
||||
code_tree::out, code_info::in, code_info::out) is det.
|
||||
|
||||
:- implementation.
|
||||
|
||||
:- import_module ll_backend__code_gen, libs__tree.
|
||||
:- import_module libs__tree.
|
||||
:- import_module ll_backend__code_gen.
|
||||
|
||||
:- import_module std_util, require.
|
||||
|
||||
commit_gen__generate_commit(OuterCodeModel, Goal, Code) -->
|
||||
|
||||
Reference in New Issue
Block a user