aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/regalloc/hipe_sparc_specific.erl
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-06-16 17:09:13 +0200
committerMagnus Lång <[email protected]>2016-09-02 15:59:17 +0200
commit86eeae878efbbcfb12245cdab992bb39987f09bf (patch)
treeba4befb9ea600fabf88cdcd1a8dd924e003d9141 /lib/hipe/regalloc/hipe_sparc_specific.erl
parentdcfd9d92a4dce86e9a78b6152523a6eb305e8a6d (diff)
downloadotp-86eeae878efbbcfb12245cdab992bb39987f09bf.tar.gz
otp-86eeae878efbbcfb12245cdab992bb39987f09bf.tar.bz2
otp-86eeae878efbbcfb12245cdab992bb39987f09bf.zip
hipe: Remove defun_to_cfg/1 RA callback
Now that all backends do register allocation on a CFG directly and define the defun_to_cfg/1 callback as the identity function, it can be removed.
Diffstat (limited to 'lib/hipe/regalloc/hipe_sparc_specific.erl')
-rw-r--r--lib/hipe/regalloc/hipe_sparc_specific.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hipe/regalloc/hipe_sparc_specific.erl b/lib/hipe/regalloc/hipe_sparc_specific.erl
index 7df1bbe113..8a792a4fab 100644
--- a/lib/hipe/regalloc/hipe_sparc_specific.erl
+++ b/lib/hipe/regalloc/hipe_sparc_specific.erl
@@ -51,11 +51,7 @@
-export([breadthorder/1, postorder/1]).
%% callbacks for hipe_regalloc_loop
--export([defun_to_cfg/1,
- check_and_rewrite/2]).
-
-defun_to_cfg(AlreadyACFG) ->
- AlreadyACFG.
+-export([check_and_rewrite/2]).
check_and_rewrite(CFG, Coloring) ->
hipe_sparc_ra_postconditions:check_and_rewrite(CFG, Coloring, 'normal').