aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/regalloc/hipe_sparc_specific.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hipe/regalloc/hipe_sparc_specific.erl')
-rw-r--r--lib/hipe/regalloc/hipe_sparc_specific.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hipe/regalloc/hipe_sparc_specific.erl b/lib/hipe/regalloc/hipe_sparc_specific.erl
index 29d0908caf..7df1bbe113 100644
--- a/lib/hipe/regalloc/hipe_sparc_specific.erl
+++ b/lib/hipe/regalloc/hipe_sparc_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_sparc_defuse:insn_def_gpr(I),
hipe_sparc:temp_is_allocatable(X)].
+defines_all_alloc(I) ->
+ hipe_sparc_defuse:insn_defs_all_gpr(I).
+
is_move(Instruction) ->
case hipe_sparc:is_pseudo_move(Instruction) of
true ->