diff options
author | Björn Gustavsson <[email protected]> | 2016-05-24 12:36:17 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-05-25 16:41:26 +0200 |
commit | 27ec25fee753da60d36ce560ce34b9cef7dc8df7 (patch) | |
tree | 7ae6d03ccc66e77ec3ae736d29a9a2c5cad2314b /lib/compiler/test/Makefile | |
parent | 2a4281cf29a1fc7cc8408d7c42b60f930888133a (diff) | |
download | otp-27ec25fee753da60d36ce560ce34b9cef7dc8df7.tar.gz otp-27ec25fee753da60d36ce560ce34b9cef7dc8df7.tar.bz2 otp-27ec25fee753da60d36ce560ce34b9cef7dc8df7.zip |
beam_expect: Correctly handle blocks with multiple allocs
A negative allocation could be calculated if a block had multiple
allocations. Make sure to process the block in the right order
so that the correct allocation is processed. Also add an assertion.
This bug was often not noticed because beam_type usually silently
recalculates the allocation amount in test_heap/2 instructions.
Diffstat (limited to 'lib/compiler/test/Makefile')
0 files changed, 0 insertions, 0 deletions