Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

Visit module instead of at expression level

author
Danielle Maywood
committer
nandi
date (Jul 26, 2026, 12:11 PM -0700) commit a9943d88 parent daa1750c change-id psuuvxns
+4 -3
+4 -3
compiler-core/src/cranelift/mir.rs
··· 88 88 } 89 89 } 90 90 91 + FlattenBlockPass.visit_module(&mut self.module); 92 + RemoveUnusedPass.visit_module(&mut self.module); 93 + 91 94 self.module 92 95 } 93 96 ··· 114 117 }, 115 118 )); 116 119 117 - let mut body = translator.translate(&function.body); 118 - FlattenBlockPass.visit_expression(&mut body); 119 - RemoveUnusedPass.visit_expression(&mut body); 120 + let body = translator.translate(&function.body); 120 121 121 122 Function { 122 123 name,