aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/regalloc/hipe_x86_specific.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hipe/regalloc/hipe_x86_specific.erl')
-rw-r--r--lib/hipe/regalloc/hipe_x86_specific.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hipe/regalloc/hipe_x86_specific.erl b/lib/hipe/regalloc/hipe_x86_specific.erl
index f1007c95ed..2720af92c1 100644
--- a/lib/hipe/regalloc/hipe_x86_specific.erl
+++ b/lib/hipe/regalloc/hipe_x86_specific.erl
@@ -47,6 +47,7 @@
liveout/2,
uses/1,
defines/1,
+ defines_all_alloc/1,
def_use/1,
is_arg/1, % used by hipe_ls_regalloc
is_move/1,
@@ -176,6 +177,8 @@ defines(I) ->
hipe_x86:temp_is_allocatable(X),
hipe_x86:temp_type(X) =/= 'double'].
+defines_all_alloc(I) -> ?HIPE_X86_DEFUSE:insn_defs_all(I).
+
is_move(Instruction) ->
case hipe_x86:is_move(Instruction) of
true ->