aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/beam_load.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-03-25 09:47:42 +0100
committerBjörn Gustavsson <[email protected]>2015-04-13 12:37:55 +0200
commit5b8872c37f63b35e13464109e986ef3727588040 (patch)
treeaa35e8c7bbb675e3772bd3fc205c78ca9a137599 /erts/emulator/beam/beam_load.c
parent47e1ed4c0681a73c9d6bc8d24ece85dd77957034 (diff)
downloadotp-5b8872c37f63b35e13464109e986ef3727588040.tar.gz
otp-5b8872c37f63b35e13464109e986ef3727588040.tar.bz2
otp-5b8872c37f63b35e13464109e986ef3727588040.zip
Optimize use of i_get_map_element/4
In the i_get_map_element/4 instruction, for literal keys other than atoms, the key would be put into x[0] instead of used directly in the instruction. The reason is that the original implementation of maps only supported atom keys.
Diffstat (limited to 'erts/emulator/beam/beam_load.c')
0 files changed, 0 insertions, 0 deletions