diff options
author | Björn Gustavsson <[email protected]> | 2016-04-12 06:08:07 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-14 12:00:34 +0200 |
commit | c74f998b9ad46785aaa2557a4033c056574dc937 (patch) | |
tree | e2a57988fa5ab0f363e84da307e5d909e4011329 /erts/emulator/test/nif_SUITE.erl | |
parent | f2d068bb92b49360e04c7150a643f1f9026c288d (diff) | |
download | otp-c74f998b9ad46785aaa2557a4033c056574dc937.tar.gz otp-c74f998b9ad46785aaa2557a4033c056574dc937.tar.bz2 otp-c74f998b9ad46785aaa2557a4033c056574dc937.zip |
v3_kernel: Construct literal lists properly
Use cerl:make_list/1 instead of a home-made make_list/1 to ensure that
literal lists are constructed as literals. In a future release, we
would like to forbid in the loader construction of literal lists using
instructions like:
put_list {atom,a} [] Dst
The proper way is:
move {literal,[a]} {x,0}
Also update the comment about "put_list Const [] Dst" in ops.tab.
Diffstat (limited to 'erts/emulator/test/nif_SUITE.erl')
0 files changed, 0 insertions, 0 deletions