diff options
author | Björn Gustavsson <[email protected]> | 2018-01-22 15:46:05 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-01-23 09:01:39 +0100 |
commit | 25fa1aadc987f4c3abb8b39ae5fa090a9a103daa (patch) | |
tree | b4aaa89acc9511df92421d87db5e9ed33210dc07 /lib/ic/src | |
parent | e6432a0c60a488c7750fcdab3a4f2821c0f35ec8 (diff) | |
download | otp-25fa1aadc987f4c3abb8b39ae5fa090a9a103daa.tar.gz otp-25fa1aadc987f4c3abb8b39ae5fa090a9a103daa.tar.bz2 otp-25fa1aadc987f4c3abb8b39ae5fa090a9a103daa.zip |
beam_validator: Validate building of tuples
Make sure that there is the correct number of put/1 instructions
following put_tuple/2. Also make it illegal to reference the
register for the tuple being built in a put/1 instruction.
That is, beam_validator will now issue a diagnostice for the the
following code:
{put_tuple,1,{x,0}}.
{put,{x,0}}.
Diffstat (limited to 'lib/ic/src')
0 files changed, 0 insertions, 0 deletions