diff options
author | Björn Gustavsson <[email protected]> | 2015-02-27 07:33:57 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-03-11 09:34:19 +0100 |
commit | b4061dfd6ef6f84379fd8a0988eed79cb0bb1972 (patch) | |
tree | 8f514b1c26e7ffee60be4a431fedea1b5c45b0fd /bootstrap/lib/kernel/ebin/application.beam | |
parent | 16d02eb264e2ff4c2c7bbe153c0dedc38e4267a5 (diff) | |
download | otp-b4061dfd6ef6f84379fd8a0988eed79cb0bb1972.tar.gz otp-b4061dfd6ef6f84379fd8a0988eed79cb0bb1972.tar.bz2 otp-b4061dfd6ef6f84379fd8a0988eed79cb0bb1972.zip |
v3_life: Combine literal/2 and literal2/2
For unclear reasons, there are two functions in v3_life that are
almost identical: literal/2 and literal2/2. literal/2 is used
for expressions and literal2/2 for patterns.
It turns out that literal2/2 can do everything that literal/2 can
do, except that it transforms maps differently.
If we adjust v3_codegen to accept the same format of maps in
expressions and patterns, we can rename literal2/2 to literal/2
and use it for expressions and patterns.
Diffstat (limited to 'bootstrap/lib/kernel/ebin/application.beam')
0 files changed, 0 insertions, 0 deletions