diff options
author | Magnus Lång <[email protected]> | 2017-02-27 14:10:47 +0100 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2017-03-06 18:18:23 +0100 |
commit | 0b8ebb973e0f308fc146f39bcb53928505f70fcb (patch) | |
tree | f7cf1f11c755d998b532681de4c98d67d4f3f36e /lib/hipe/regalloc | |
parent | 9e2d61fa511c714f9f8cd2e5c57edf408ecf05e6 (diff) | |
download | otp-0b8ebb973e0f308fc146f39bcb53928505f70fcb.tar.gz otp-0b8ebb973e0f308fc146f39bcb53928505f70fcb.tar.bz2 otp-0b8ebb973e0f308fc146f39bcb53928505f70fcb.zip |
hipe_x86: Cleanup
Diffstat (limited to 'lib/hipe/regalloc')
-rw-r--r-- | lib/hipe/regalloc/hipe_amd64_specific_sse2.erl | 4 |
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. |