From 31a4c1d65c24d8240d5d46d8cffe81097ebb28bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= Date: Mon, 1 Oct 2018 15:23:17 +0200 Subject: Optimize named funs and fun-wrapped macros If a fun is defined locally and only used for calls, it can be replaced with direct calls to the relevant function. This greatly speeds up "named functions" (which rely on make_fun to recreate themselves) and macros that wrap their body in a fun. --- lib/compiler/src/compiler.app.src | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/compiler/src/compiler.app.src') diff --git a/lib/compiler/src/compiler.app.src b/lib/compiler/src/compiler.app.src index 7b802fdd62..86259270bd 100644 --- a/lib/compiler/src/compiler.app.src +++ b/lib/compiler/src/compiler.app.src @@ -39,6 +39,7 @@ beam_ssa_bsm, beam_ssa_codegen, beam_ssa_dead, + beam_ssa_funs, beam_ssa_lint, beam_ssa_opt, beam_ssa_pp, -- cgit v1.2.3