Skip to content

Commit

Permalink
Fix unused code warnings
Browse files Browse the repository at this point in the history
prtest:full
  • Loading branch information
elliottt committed Mar 21, 2024
1 parent e56d30d commit 41abec2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions winch/codegen/src/abi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ pub(crate) trait ABI {
fn arg_base_offset() -> u8;

/// The offset to the return address, relative to the frame pointer.
#[allow(unused)]
fn ret_addr_offset() -> u8;

/// Construct the ABI-specific signature from a WebAssembly
Expand Down Expand Up @@ -150,9 +151,11 @@ pub(crate) trait ABI {
}

/// Returns the frame pointer register.
#[allow(unused)]
fn fp_reg() -> Reg;

/// Returns the stack pointer register.
#[allow(unused)]
fn sp_reg() -> Reg;

/// Returns the pinned register used to hold
Expand Down

0 comments on commit 41abec2

Please sign in to comment.