From 4bbeb848321d4e8a0e3d2430c361871eae6b0f7e Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Tue, 14 Feb 2023 19:24:03 -0800 Subject: [PATCH] waffle-util: always expand all funcs --- src/bin/waffle-util.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bin/waffle-util.rs b/src/bin/waffle-util.rs index 32a49a6..3d378fb 100644 --- a/src/bin/waffle-util.rs +++ b/src/bin/waffle-util.rs @@ -42,9 +42,7 @@ enum Command { } fn apply_options(opts: &Options, module: &mut Module) -> Result<()> { - if opts.basic_opts || opts.max_ssa { - module.expand_all_funcs()?; - } + module.expand_all_funcs()?; if opts.basic_opts { module.per_func_body(|body| body.optimize()); }