diff options
author | Björn Gustavsson <[email protected]> | 2012-05-16 10:50:30 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-01-28 15:56:25 +0100 |
commit | 64ee859fc4c17259ab95192abf7493fed8f2b0ac (patch) | |
tree | 8506892a03635fa44f523f4daf470c4845e63e77 /erts | |
parent | d3ece60d52880fb273da3c4aa07655a0eeddeafb (diff) | |
download | otp-64ee859fc4c17259ab95192abf7493fed8f2b0ac.tar.gz otp-64ee859fc4c17259ab95192abf7493fed8f2b0ac.tar.bz2 otp-64ee859fc4c17259ab95192abf7493fed8f2b0ac.zip |
Implement support for maps in the compiler
To make it possible to build the entire OTP system, also define
dummys for the instructions in ops.tab.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/ops.tab | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab index c29f3f9b1b..b52ecfaefc 100644 --- a/erts/emulator/beam/ops.tab +++ b/erts/emulator/beam/ops.tab @@ -1466,6 +1466,15 @@ apply I apply_last I P # +# Map instructions in R16. +# + +put_map Fail Src Dst Live Size Rest=* => jump Fail +is_map Fail Src => jump Fail +has_map_field Fail Src Key => jump Fail +get_map_element Fail Src Key Dst => jump Fail + +# # Optimize addition and subtraction of small literals using # the i_increment/4 instruction (in bodies, not in guards). # |