diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2019-03-18 05:41:31 +0100 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2019-03-19 16:02:00 +0100 |
commit | 3398cc02c91e5231b2552ae92a75b9dd2c05be29 (patch) | |
tree | 3997d4a858d60288fc1d291819dedff6a8efba9c /erts | |
parent | ffa22bf1013c7dfeeb7bbf846983dfe39deb7e52 (diff) | |
download | otp-3398cc02c91e5231b2552ae92a75b9dd2c05be29.tar.gz otp-3398cc02c91e5231b2552ae92a75b9dd2c05be29.tar.bz2 otp-3398cc02c91e5231b2552ae92a75b9dd2c05be29.zip |
Remove the move_dup instruction
move_dup is used very infrequently.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/instrs.tab | 4 | ||||
-rw-r--r-- | erts/emulator/beam/ops.tab | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/erts/emulator/beam/instrs.tab b/erts/emulator/beam/instrs.tab index 590a55eb9d..3cb12dba4a 100644 --- a/erts/emulator/beam/instrs.tab +++ b/erts/emulator/beam/instrs.tab @@ -500,10 +500,6 @@ move3(S1, D1, S2, D2, S3, D3) { $D3 = $S3; } -move_dup(Src, D1, D2) { - $D1 = $D2 = $Src; -} - move2_par(S1, D1, S2, D2) { Eterm V1, V2; V1 = $S1; diff --git a/erts/emulator/beam/ops.tab b/erts/emulator/beam/ops.tab index 649d861c80..b405999f2a 100644 --- a/erts/emulator/beam/ops.tab +++ b/erts/emulator/beam/ops.tab @@ -369,13 +369,6 @@ swap_temp x x x swap xy x swap y y -# move_dup - -move Src=x D1=x | move Src=x D2=x => move_dup Src D1 D2 -move Src=x SD=x | move SD=x D=x => move_dup Src SD D - -move_dup x x x - # move_shift move SD=x D=x | move Src=cxy SD=x | distinct(D, Src) => move_shift Src SD D |