Make the regalloc module private.

Cretonne clients don't need to know how the register allocator works.

Export the RegDiversions type from the binemit module instead. It is
used by the "test binemit" driver.
This commit is contained in:
Jakob Stoklund Olesen
2018-02-21 12:11:50 -08:00
parent 2f58c371bc
commit eae8261b07
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ use cretonne::binemit;
use cretonne::dbg::DisplayList;
use cretonne::ir;
use cretonne::ir::entities::AnyEntity;
use cretonne::regalloc::RegDiversions;
use cretonne::binemit::RegDiversions;
use cton_reader::TestCommand;
use filetest::subtest::{SubTest, Context, Result};
use utils::{match_directive, pretty_error};