aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/ops.tab
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-06-24 12:45:42 +0200
committerBjörn Gustavsson <[email protected]>2019-06-24 12:45:42 +0200
commitd725d3d2e62cbc32cfd55e44afe4f46c2517b84b (patch)
tree41c3e6768468cd7930e2068091691e8a892eb584 /erts/emulator/beam/ops.tab
parent793f5a78d2adaaa7c20e890758a6616c63b47290 (diff)
parent58b9182b19fb5c07249cf75bae4095c50dcded7f (diff)
downloadotp-d725d3d2e62cbc32cfd55e44afe4f46c2517b84b.tar.gz
otp-d725d3d2e62cbc32cfd55e44afe4f46c2517b84b.tar.bz2
otp-d725d3d2e62cbc32cfd55e44afe4f46c2517b84b.zip
Merge branch 'bjorn/erts/unoptimized-plus' into maint
* bjorn/erts/unoptimized-plus: Handle addition of bignum + variable in unoptimized code
Diffstat (limited to 'erts/emulator/beam/ops.tab')
-rw-r--r--erts/emulator/beam/ops.tab1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab
index 9d68a4a68b..b9d4f6afcc 100644
--- a/erts/emulator/beam/ops.tab
+++ b/erts/emulator/beam/ops.tab
@@ -1692,6 +1692,7 @@ i_increment rxy W d
# Handle unoptimized code.
i_plus S1=c S2=c Fail Dst => move S1 x | i_plus x S2 Fail Dst
+i_plus S1=c S2=xy Fail Dst => i_plus S2 S1 Fail Dst
i_plus xy xyc j? d