Skip to content

Commit

Permalink
Remove unused, deprecated cranelift_frontend::Variable::with_u32 me…
Browse files Browse the repository at this point in the history
…thod (#8934)
  • Loading branch information
fitzgen authored Jul 10, 2024
1 parent 86b599f commit 23fc085
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cranelift/frontend/src/variable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,3 @@ use cranelift_codegen::entity::entity_impl;
pub struct Variable(u32);

entity_impl!(Variable, "var");

impl Variable {
/// Create a new Variable with the given index.
#[deprecated = "Use Variable::from_u32 instead"]
pub fn with_u32(index: u32) -> Self {
Variable::from_u32(index)
}
}

0 comments on commit 23fc085

Please sign in to comment.