diff options
author | Björn Gustavsson <[email protected]> | 2019-03-22 07:42:24 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-03-25 09:58:58 +0100 |
commit | f3293ecdb3c223ec10babbbf26569e00f89ae28d (patch) | |
tree | c997b65462962ce68f360d479a18dc3ed0ab5661 /lib/compiler/src/beam_dict.erl | |
parent | afe49ef2610b597f172e0fcc0c2b7b3f110bb7b4 (diff) | |
download | otp-f3293ecdb3c223ec10babbbf26569e00f89ae28d.tar.gz otp-f3293ecdb3c223ec10babbbf26569e00f89ae28d.tar.bz2 otp-f3293ecdb3c223ec10babbbf26569e00f89ae28d.zip |
sys_core_fold: Simplify case_expand_var/2
5239eb0c62a9 stopped storing patterns that a variable has matched.
The only tuples that are stored in the type database are tuples
that have been previously constructed.
Therefore, the code in sys_core_fold:case_expand_var/2 and friends
that converts a tuple pattern to a tuple construction can be simplified
to used the stored tuple directly.
Diffstat (limited to 'lib/compiler/src/beam_dict.erl')
0 files changed, 0 insertions, 0 deletions