diff options
author | John Högberg <[email protected]> | 2019-01-18 06:23:59 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2019-02-05 11:33:13 +0100 |
commit | 4f8026dabf5bd81f1dad085024e2b0623e5706f4 (patch) | |
tree | 8ff494cbde52f39ebcaf2ae01884c1c49512efd8 /erts/emulator/beam/hash.h | |
parent | 8f4eab5dda3658850b5b123003b2786ec7e715b2 (diff) | |
download | otp-4f8026dabf5bd81f1dad085024e2b0623e5706f4.tar.gz otp-4f8026dabf5bd81f1dad085024e2b0623e5706f4.tar.bz2 otp-4f8026dabf5bd81f1dad085024e2b0623e5706f4.zip |
beam_ssa_type: Track the types of tuple elements
Prior to 294d66a295f6c2101fe3c2da630979ad4e736c08 there wasn't much
point to keeping track of tuple element types; they were only known
when we had inserted or extracted values from a tuple, and in
neither case was it likely that we'd extract the same values again.
It makes a lot more sense to do so now that type optimizations are
applied across functions; if we return a tuple it's very likely
that its elements will be extracted soon after, and knowing their
types lets us eliminate more type checks.
Co-authored-by: Björn Gustavsson <[email protected]>
Diffstat (limited to 'erts/emulator/beam/hash.h')
0 files changed, 0 insertions, 0 deletions