Take MIR dataflow analyses by mutable reference.
This commit is contained in:
parent
fdd030127c
commit
eaddc37075
19 changed files with 491 additions and 288 deletions
|
@ -337,7 +337,7 @@ where
|
|||
Q: Qualif,
|
||||
{
|
||||
fn apply_statement_effect(
|
||||
&self,
|
||||
&mut self,
|
||||
state: &mut Self::Domain,
|
||||
statement: &mir::Statement<'tcx>,
|
||||
location: Location,
|
||||
|
@ -346,7 +346,7 @@ where
|
|||
}
|
||||
|
||||
fn apply_terminator_effect(
|
||||
&self,
|
||||
&mut self,
|
||||
state: &mut Self::Domain,
|
||||
terminator: &mir::Terminator<'tcx>,
|
||||
location: Location,
|
||||
|
@ -355,7 +355,7 @@ where
|
|||
}
|
||||
|
||||
fn apply_call_return_effect(
|
||||
&self,
|
||||
&mut self,
|
||||
state: &mut Self::Domain,
|
||||
block: BasicBlock,
|
||||
return_places: CallReturnPlaces<'_, 'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue