aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-04-28 07:16:02 +0200
committerRaimo Niskanen <[email protected]>2010-05-20 12:20:49 +0200
commit45314b86cf1923dd707fe14bd431c919607bb0a9 (patch)
tree2f0474f497557a8d4ab6ad6a5a116b27ac1e80af /lib/compiler/src/Makefile
parent0078862df75ff97827a09aee8e59fe3cf9343a5e (diff)
downloadotp-45314b86cf1923dd707fe14bd431c919607bb0a9.tar.gz
otp-45314b86cf1923dd707fe14bd431c919607bb0a9.tar.bz2
otp-45314b86cf1923dd707fe14bd431c919607bb0a9.zip
beam_bool: Remove a clause in initialized_regs/2 that cannot match
When scanning a reversed instruction sequence for a function, it is impossible to reach the end of the list, because each function must have a fun_info/4 instruction followed by a label/1 instruction at the beginning, and there is a clause that will handle those instructions. If for some unfathomable reason the end of the list would be reached, with this change there will be an internal compiler error and no *.beam file will be created. Thus this change is safe.
Diffstat (limited to 'lib/compiler/src/Makefile')
0 files changed, 0 insertions, 0 deletions