diff options
author | Björn Gustavsson <[email protected]> | 2010-04-28 07:16:02 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-05-20 12:20:49 +0200 |
commit | 45314b86cf1923dd707fe14bd431c919607bb0a9 (patch) | |
tree | 2f0474f497557a8d4ab6ad6a5a116b27ac1e80af /lib/compiler/src/cerl.erl | |
parent | 0078862df75ff97827a09aee8e59fe3cf9343a5e (diff) | |
download | otp-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/cerl.erl')
0 files changed, 0 insertions, 0 deletions