aboutsummaryrefslogtreecommitdiffstats
path: root/erts/example/next_perm.erl
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2019-06-28 08:25:00 +0200
committerJohn Högberg <[email protected]>2019-07-03 10:44:29 +0200
commit3dd5ab9473f888ceb8f2ae6d71f51cd92de83f5b (patch)
tree862dd7bf9c091da6a7013052aac2d13405314b5d /erts/example/next_perm.erl
parent4319a7f8bc93388ec540e954eb9bb73ea1eec4ef (diff)
downloadotp-3dd5ab9473f888ceb8f2ae6d71f51cd92de83f5b.tar.gz
otp-3dd5ab9473f888ceb8f2ae6d71f51cd92de83f5b.tar.bz2
otp-3dd5ab9473f888ceb8f2ae6d71f51cd92de83f5b.zip
beam_ssa_opt: Do not apply tuple_size optimization outside guards
Rewriting `tuple_size` to `is_tuple` + `tuple_size` will cause it not to throw an exception, either crashing the compiler or the emulator when the code runs.
Diffstat (limited to 'erts/example/next_perm.erl')
0 files changed, 0 insertions, 0 deletions