Remove the old x86 backend
This commit is contained in:
@@ -47,8 +47,8 @@ impl SingleFunctionCompiler {
|
||||
}
|
||||
|
||||
/// Build a [SingleFunctionCompiler] using the host machine's ISA and the passed flags.
|
||||
pub fn with_host_isa(flags: settings::Flags, variant: BackendVariant) -> Self {
|
||||
let builder = builder_with_options(variant, true)
|
||||
pub fn with_host_isa(flags: settings::Flags) -> Self {
|
||||
let builder = builder_with_options(true)
|
||||
.expect("Unable to build a TargetIsa for the current host");
|
||||
let isa = builder.finish(flags);
|
||||
Self::new(isa)
|
||||
@@ -58,7 +58,7 @@ impl SingleFunctionCompiler {
|
||||
/// ISA.
|
||||
pub fn with_default_host_isa() -> Self {
|
||||
let flags = settings::Flags::new(settings::builder());
|
||||
Self::with_host_isa(flags, BackendVariant::Any)
|
||||
Self::with_host_isa(flags)
|
||||
}
|
||||
|
||||
/// Compile the passed [Function] to a `CompiledFunction`. This function will:
|
||||
|
||||
@@ -48,11 +48,10 @@ impl SubTest for TestRun {
|
||||
);
|
||||
return Ok(());
|
||||
}
|
||||
let variant = context.isa.unwrap().variant();
|
||||
|
||||
let test_env = RuntestEnvironment::parse(&context.details.comments[..])?;
|
||||
|
||||
let mut compiler = SingleFunctionCompiler::with_host_isa(context.flags.clone(), variant);
|
||||
let mut compiler = SingleFunctionCompiler::with_host_isa(context.flags.clone());
|
||||
for comment in context.details.comments.iter() {
|
||||
if let Some(command) = parse_run_command(comment.text, &func.signature)? {
|
||||
trace!("Parsed run command: {}", command);
|
||||
|
||||
Reference in New Issue
Block a user