aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/compiler/ebin
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-02-27 07:33:57 +0100
committerBjörn Gustavsson <[email protected]>2015-03-11 09:34:19 +0100
commitb4061dfd6ef6f84379fd8a0988eed79cb0bb1972 (patch)
tree8f514b1c26e7ffee60be4a431fedea1b5c45b0fd /bootstrap/lib/compiler/ebin
parent16d02eb264e2ff4c2c7bbe153c0dedc38e4267a5 (diff)
downloadotp-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/compiler/ebin')
0 files changed, 0 insertions, 0 deletions