diff --git a/cranelift/codegen/src/isa/mod.rs b/cranelift/codegen/src/isa/mod.rs index f43e9650a8..ce034ec01f 100644 --- a/cranelift/codegen/src/isa/mod.rs +++ b/cranelift/codegen/src/isa/mod.rs @@ -50,7 +50,6 @@ use crate::ir; #[cfg(feature = "unwind")] use crate::isa::unwind::systemv::RegisterMappingError; use crate::machinst::{MachBackend, UnwindInfoKind}; -use crate::result::CodegenResult; use crate::settings; use crate::settings::SetResult; use alloc::{boxed::Box, vec::Vec}; @@ -237,18 +236,6 @@ pub trait TargetIsa: fmt::Display + Send + Sync { /// IntCC condition for Unsigned Addition Overflow (Carry). fn unsigned_add_overflow_condition(&self) -> ir::condcodes::IntCC; - /// Creates unwind information for the function. - /// - /// Returns `None` if there is no unwind information for the function. - #[cfg(feature = "unwind")] - fn create_unwind_info( - &self, - _func: &ir::Function, - ) -> CodegenResult> { - // By default, an ISA has no unwind information - Ok(None) - } - /// Creates a new System V Common Information Entry for the ISA. /// /// Returns `None` if the ISA does not support System V unwind information.