diff options
author | Björn Gustavsson <[email protected]> | 2012-11-26 12:15:25 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-11-26 12:15:25 +0100 |
commit | 4b01f5b318a866fc5fb9392ddadd1fa54f862692 (patch) | |
tree | 22d16c35dac6b4d6c57411afa9528c8b85872c54 /lib/compiler/src/beam_utils.erl | |
parent | 871a67b5f2696cca6124e85a9b3ad9355a041ba6 (diff) | |
download | otp-4b01f5b318a866fc5fb9392ddadd1fa54f862692.tar.gz otp-4b01f5b318a866fc5fb9392ddadd1fa54f862692.tar.bz2 otp-4b01f5b318a866fc5fb9392ddadd1fa54f862692.zip |
beam_bsm: Make the optimization applicable in more circumstances
When determining whether the delayed creation of sub-binaries
optimizations is applicable, this module some tests whether the
register containg the match state is killed. That is actually a
stronger condition than necessary; since the register is initialized,
it suffices to test whether the register is unused.
Diffstat (limited to 'lib/compiler/src/beam_utils.erl')
0 files changed, 0 insertions, 0 deletions