pub trait TailCallOptimization {
// Required methods
fn optimize_tail_calls(&mut self, assembly: &str) -> Result<String>;
fn is_tail_call(&self, instruction: &str) -> bool;
}Expand description
Tail call optimization
Required Methods§
Sourcefn optimize_tail_calls(&mut self, assembly: &str) -> Result<String>
fn optimize_tail_calls(&mut self, assembly: &str) -> Result<String>
Optimize tail calls
Sourcefn is_tail_call(&self, instruction: &str) -> bool
fn is_tail_call(&self, instruction: &str) -> bool
Detect tail call position