aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/regalloc/hipe_arm_specific.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hipe/regalloc/hipe_arm_specific.erl')
-rw-r--r--lib/hipe/regalloc/hipe_arm_specific.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hipe/regalloc/hipe_arm_specific.erl b/lib/hipe/regalloc/hipe_arm_specific.erl
index e04d80f690..c696668399 100644
--- a/lib/hipe/regalloc/hipe_arm_specific.erl
+++ b/lib/hipe/regalloc/hipe_arm_specific.erl
@@ -40,6 +40,7 @@
,livein/2
,uses/1
,defines/1
+ ,defines_all_alloc/1
]).
%% for hipe_graph_coloring_regalloc:
@@ -129,6 +130,9 @@ defines(I) ->
[X || X <- hipe_arm_defuse:insn_def_gpr(I),
hipe_arm:temp_is_allocatable(X)].
+defines_all_alloc(I) ->
+ hipe_arm_defuse:insn_defs_all_gpr(I).
+
is_move(Instruction) ->
case hipe_arm:is_pseudo_move(Instruction) of
true ->