diff options
author | Anthony Ramine <[email protected]> | 2013-03-24 14:40:24 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-03-28 09:18:01 +0100 |
commit | 57d5d8450811eb7c79b1365ab13fec689f8decdd (patch) | |
tree | f70ab870e453b8611f4f5ed5516a547a799f061e /bootstrap/lib/compiler | |
parent | f285ee66678ae8761dc82b5ba0c023dd759091fc (diff) | |
download | otp-57d5d8450811eb7c79b1365ab13fec689f8decdd.tar.gz otp-57d5d8450811eb7c79b1365ab13fec689f8decdd.tar.bz2 otp-57d5d8450811eb7c79b1365ab13fec689f8decdd.zip |
Fix optimization of some binary comprehensions
If a variable bound in a generator is used as the size of a segment
in the comprehension body, v3_core uses this variable in the code
generated to compute the initial size given to the `bs_init_writable`
primop before the variable is actually bound, as in:
<< <<0:S>> || S <- Slist >>
Reported-By: Peer Stritzinger
Diffstat (limited to 'bootstrap/lib/compiler')
0 files changed, 0 insertions, 0 deletions