Remove useless methods in visit.
This commit is contained in:
parent
8a515aab76
commit
22bf5fd848
1 changed files with 0 additions and 6 deletions
|
@ -854,12 +854,6 @@ impl<'tcx> MutVisitor<'tcx> for ConstPropagator<'_, 'tcx> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn visit_constant(&mut self, constant: &mut Constant<'tcx>, location: Location) {
|
|
||||||
trace!("visit_constant: {:?}", constant);
|
|
||||||
self.super_constant(constant, location);
|
|
||||||
self.eval_constant(constant);
|
|
||||||
}
|
|
||||||
|
|
||||||
fn visit_assign(
|
fn visit_assign(
|
||||||
&mut self,
|
&mut self,
|
||||||
place: &mut Place<'tcx>,
|
place: &mut Place<'tcx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue