We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9d7e6f commit a040947Copy full SHA for a040947
src/base.rs
@@ -141,16 +141,6 @@ pub(crate) fn compile_fn(
141
context.clear();
142
context.func = codegened_func.func;
143
144
- // If the return block is not reachable, then the SSA builder may have inserted an `iconst.i128`
145
- // instruction, which doesn't have an encoding.
146
- context.compute_cfg();
147
- context.compute_domtree();
148
- context.eliminate_unreachable_code(module.isa()).unwrap();
149
- context.dce(module.isa()).unwrap();
150
- // Some Cranelift optimizations expect the domtree to not yet be computed and as such don't
151
- // invalidate it when it would change.
152
- context.domtree.clear();
153
-
154
#[cfg(any())] // This is never true
155
let _clif_guard = {
156
use std::fmt::Write;
0 commit comments