summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/function.rs4
-rw-r--r--rust/src/medium_level_il/instruction.rs6
2 files changed, 2 insertions, 8 deletions
diff --git a/rust/src/function.rs b/rust/src/function.rs
index ec859f7e..58b310c7 100644
--- a/rust/src/function.rs
+++ b/rust/src/function.rs
@@ -2154,7 +2154,7 @@ impl Function {
/// Splits a variable at the definition site. The given `var` must be the
/// variable unique to the definition and should be obtained by using
- /// [crate::medium_level_il::MediumLevelILInstruction::get_split_var_for_definition] at the definition site.
+ /// [crate::medium_level_il::MediumLevelILInstruction::split_var_for_definition] at the definition site.
///
/// This function is not meant to split variables that have been previously merged. Use
/// [Function::unmerge_variables] to split previously merged variables.
@@ -2177,7 +2177,7 @@ impl Function {
/// Undoes variable splitting performed with [Function::split_variable]. The given `var`
/// must be the variable unique to the definition and should be obtained by using
- /// [crate::medium_level_il::MediumLevelILInstruction::get_split_var_for_definition] at the definition site.
+ /// [crate::medium_level_il::MediumLevelILInstruction::split_var_for_definition] at the definition site.
///
/// * `var` - variable to unsplit
pub fn unsplit_variable(&self, var: &Variable) {
diff --git a/rust/src/medium_level_il/instruction.rs b/rust/src/medium_level_il/instruction.rs
index ae550d91..b043788d 100644
--- a/rust/src/medium_level_il/instruction.rs
+++ b/rust/src/medium_level_il/instruction.rs
@@ -1376,12 +1376,6 @@ impl MediumLevelILInstruction {
Variable::new(var.ty, index, var.storage)
}
- /// alias for [MediumLevelILInstruction::split_var_for_definition]
- #[inline]
- pub fn get_split_var_for_definition(&self, var: &Variable) -> Variable {
- self.split_var_for_definition(var)
- }
-
fn lift_operand(&self, expr_idx: usize) -> Box<MediumLevelILLiftedInstruction> {
// TODO: UGH, if your gonna call it expr_idx, call the instruction and expression!!!!!
// TODO: We dont even need to say instruction in the type!