Pass the ISA-specific compilation flags to the ABI implementations
Copyright (c) 2021, Arm Limited.
This commit is contained in:
@@ -48,7 +48,7 @@ impl Arm32Backend {
|
||||
// This performs lowering to VCode, register-allocates the code, computes
|
||||
// block layout and finalizes branches. The result is ready for binary emission.
|
||||
let emit_info = EmitInfo::new(flags.clone());
|
||||
let abi = Box::new(abi::Arm32ABICallee::new(func, flags)?);
|
||||
let abi = Box::new(abi::Arm32ABICallee::new(func, flags, self.isa_flags())?);
|
||||
compile::compile::<Arm32Backend>(func, self, abi, &self.reg_universe, emit_info)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user