Remove an unused argument.

This commit is contained in:
Dan Gohman
2018-03-26 21:58:46 -07:00
parent a661a8a9bb
commit 3b0a9b9ecf
2 changed files with 2 additions and 4 deletions

View File

@@ -191,7 +191,7 @@ impl Context {
/// Perform simple GVN on the function.
pub fn simple_gvn<'a, FOI: Into<FlagsOrIsa<'a>>>(&mut self, fisa: FOI) -> CtonResult {
do_simple_gvn(&mut self.func, &mut self.cfg, &mut self.domtree);
do_simple_gvn(&mut self.func, &mut self.domtree);
self.verify_if(fisa)
}