diff options
author | Mikael Pettersson <[email protected]> | 2015-01-08 19:30:39 +0100 |
---|---|---|
committer | Mikael Pettersson <[email protected]> | 2015-01-11 13:10:42 +0100 |
commit | 12e0894de1e1a5507b4b088a8bd5f89f8bd25b63 (patch) | |
tree | aa7e8f3e8e41ab1d942f518072a901c0d67c4596 /lib/hipe/rtl/hipe_rtl_arith_64.erl | |
parent | eb255403b28bc1330d34d1d64ad8b8b42788c7ae (diff) | |
download | otp-12e0894de1e1a5507b4b088a8bd5f89f8bd25b63.tar.gz otp-12e0894de1e1a5507b4b088a8bd5f89f8bd25b63.tar.bz2 otp-12e0894de1e1a5507b4b088a8bd5f89f8bd25b63.zip |
hipe: rtl: fix phi_remove_pred/2 FP moves
hipe_rtl:phi_remove_pred/2 can produce a #move{} instruction with
floating-point temporaries as operands, even though such moves MUST
be #fmove{} instructions.
Added type checks to the #move{} and #fmove{} constructor and setter
functions to ensure that similar mishaps cannot happen again.
Diffstat (limited to 'lib/hipe/rtl/hipe_rtl_arith_64.erl')
0 files changed, 0 insertions, 0 deletions