[codegen] Fixed mutability of domtree reference (#5371)
This commit is contained in:
@@ -11,7 +11,7 @@ use crate::ir::Function;
|
|||||||
use crate::timing;
|
use crate::timing;
|
||||||
|
|
||||||
/// Perform DCE on `func`.
|
/// Perform DCE on `func`.
|
||||||
pub fn do_dce(func: &mut Function, domtree: &mut DominatorTree) {
|
pub fn do_dce(func: &mut Function, domtree: &DominatorTree) {
|
||||||
let _tt = timing::dce();
|
let _tt = timing::dce();
|
||||||
debug_assert!(domtree.is_valid());
|
debug_assert!(domtree.is_valid());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user