aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/Makefile
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-10-01 15:23:17 +0200
committerJohn Högberg <[email protected]>2018-10-03 13:42:10 +0200
commit31a4c1d65c24d8240d5d46d8cffe81097ebb28bf (patch)
tree39f2593781ab8d9029fe161b0da6bdad5943bdbd /lib/compiler/src/Makefile
parent25d15bc981659947899499bbce6040868d73418f (diff)
downloadotp-31a4c1d65c24d8240d5d46d8cffe81097ebb28bf.tar.gz
otp-31a4c1d65c24d8240d5d46d8cffe81097ebb28bf.tar.bz2
otp-31a4c1d65c24d8240d5d46d8cffe81097ebb28bf.zip
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.
Diffstat (limited to 'lib/compiler/src/Makefile')
-rw-r--r--lib/compiler/src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile
index 26ae6566e6..d475e5a19a 100644
--- a/lib/compiler/src/Makefile
+++ b/lib/compiler/src/Makefile
@@ -63,6 +63,7 @@ MODULES = \
beam_ssa_bsm \
beam_ssa_codegen \
beam_ssa_dead \
+ beam_ssa_funs \
beam_ssa_lint \
beam_ssa_opt \
beam_ssa_pp \