aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-03-09 12:20:24 +0100
committerGitHub <[email protected]>2017-03-09 12:20:24 +0100
commit0380cf2f9d834eb2c84b5f9c6912396c80806b43 (patch)
treee79efd73bd600ec8d2fa485a618970b3ad649dd5 /lib/hipe/regalloc/hipe_amd64_specific_sse2.erl
parentfcd9a09dc614d61a3e06953837e3bdc3c311710d (diff)
parent16500d689aab70017d6e6c532aef69c94b1b132a (diff)
downloadotp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.gz
otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.bz2
otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.zip
Merge PR-1360 from margnus1/hipe-codegen/OTP-14261
HiPE: Various small code cleanups and codegen improvements
Diffstat (limited to 'lib/hipe/regalloc/hipe_amd64_specific_sse2.erl')
-rw-r--r--lib/hipe/regalloc/hipe_amd64_specific_sse2.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl b/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl
index 9c94539bc6..9682d37520 100644
--- a/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl
+++ b/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl
@@ -126,8 +126,8 @@ temp0(_) ->
all_precoloured(Ctx) ->
allocatable(Ctx).
-is_precoloured(Reg, Ctx) ->
- lists:member(Reg,all_precoloured(Ctx)).
+is_precoloured(Reg, _) ->
+ hipe_amd64_registers:is_precoloured_sse2(Reg).
physical_name(Reg, _) ->
Reg.