aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/regalloc/hipe_sparc_specific_fp.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_fp.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_fp.erl')
-rw-r--r--lib/hipe/regalloc/hipe_sparc_specific_fp.erl6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hipe/regalloc/hipe_sparc_specific_fp.erl b/lib/hipe/regalloc/hipe_sparc_specific_fp.erl
index fd80053708..18f4a6b684 100644
--- a/lib/hipe/regalloc/hipe_sparc_specific_fp.erl
+++ b/lib/hipe/regalloc/hipe_sparc_specific_fp.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_fp:check_and_rewrite(CFG, Coloring).