aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-28 09:31:52 +0200
committerRaimo Niskanen <[email protected]>2010-05-20 12:20:50 +0200
commit15ef8d67bc908a7939606468a5dda74188e65304 (patch)
treecd7de1ba11f88361b4428983138080ad8f8f02a1 /lib/compiler/test
parentd60ee77c2b152b89e057ffebe0694c21700c82ce (diff)
downloadotp-15ef8d67bc908a7939606468a5dda74188e65304.tar.gz
otp-15ef8d67bc908a7939606468a5dda74188e65304.tar.bz2
otp-15ef8d67bc908a7939606468a5dda74188e65304.zip
beam_bool: Remove a clause in live_regs/1 that cannot match
live_regs/1 folds over a list of tuples, so a clause matching an element being an empty list can never match. If the list for some unfathomable reason would contain an empty list, there will be an internal compiler error and no *.beam file will be created. Thus this change is safe.
Diffstat (limited to 'lib/compiler/test')
0 files changed, 0 insertions, 0 deletions