diff options
author | Björn Gustavsson <[email protected]> | 2018-09-20 07:57:19 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-09-26 12:19:56 +0200 |
commit | af632b4a9f259f5b8779d23d7aea6ebab7196724 (patch) | |
tree | 510894616d106ff22fa388b3110cea6969dd747a /lib/compiler/priv | |
parent | 60d4e673149aaa34e977e42aabeef3efd4b7c34e (diff) | |
download | otp-af632b4a9f259f5b8779d23d7aea6ebab7196724.tar.gz otp-af632b4a9f259f5b8779d23d7aea6ebab7196724.tar.bz2 otp-af632b4a9f259f5b8779d23d7aea6ebab7196724.zip |
Move allocation combining from beam_flatten to beam_ssa_codegen
Continuing the simplification of beam_flatten, move the optimization
that eliminates a test_heap instruction following a binary construction
by incorporating the allocation of the heap space into the bs_init*
instruction itself.
This change does not change the generated code in any way.
Also remove beam_utils:combine_heap_needs/2, because beam_flatten
was the last user of it.
Diffstat (limited to 'lib/compiler/priv')
0 files changed, 0 insertions, 0 deletions