aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-01-31 16:18:45 +0100
committerGitHub <[email protected]>2018-01-31 16:18:45 +0100
commitbb0b3c7252119604cf3e8c9ba78d20000e06f4ea (patch)
tree6fca8e6fdc97e62f5c911853f8773918b325d7d6 /lib/compiler/src
parent2208953ca144858ddc343721a9cc40e43cc7fe0c (diff)
parentce51e9969798cef67b4d00e03a9e59c7986a8bdd (diff)
downloadotp-bb0b3c7252119604cf3e8c9ba78d20000e06f4ea.tar.gz
otp-bb0b3c7252119604cf3e8c9ba78d20000e06f4ea.tar.bz2
otp-bb0b3c7252119604cf3e8c9ba78d20000e06f4ea.zip
Merge pull request #1696 from bjorng/bjorn/compiler/fix-beam_block-bug/ERL-555
Fix incorrect handling of floating point instructions
Diffstat (limited to 'lib/compiler/src')
-rw-r--r--lib/compiler/src/beam_block.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_block.erl b/lib/compiler/src/beam_block.erl
index d0536e0669..ecefeeae54 100644
--- a/lib/compiler/src/beam_block.erl
+++ b/lib/compiler/src/beam_block.erl
@@ -222,6 +222,7 @@ move_allocates_1([I|Is], Acc) ->
move_allocates_1(Is, [I|Acc]);
move_allocates_1([], Acc) -> Acc.
+alloc_may_pass({set,_,[{fr,_}],fmove}) -> false;
alloc_may_pass({set,_,_,{alloc,_,_}}) -> false;
alloc_may_pass({set,_,_,{set_tuple_element,_}}) -> false;
alloc_may_pass({set,_,_,put_list}) -> false;