diff options
author | Magnus Lång <[email protected]> | 2016-06-16 17:09:13 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-09-02 15:59:17 +0200 |
commit | 86eeae878efbbcfb12245cdab992bb39987f09bf (patch) | |
tree | ba4befb9ea600fabf88cdcd1a8dd924e003d9141 /lib/hipe/regalloc/hipe_x86_specific.erl | |
parent | dcfd9d92a4dce86e9a78b6152523a6eb305e8a6d (diff) | |
download | otp-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_x86_specific.erl')
-rw-r--r-- | lib/hipe/regalloc/hipe_x86_specific.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hipe/regalloc/hipe_x86_specific.erl b/lib/hipe/regalloc/hipe_x86_specific.erl index 2720af92c1..d5acdc0bd5 100644 --- a/lib/hipe/regalloc/hipe_x86_specific.erl +++ b/lib/hipe/regalloc/hipe_x86_specific.erl @@ -66,11 +66,7 @@ reverse_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_X86_RA_POSTCONDITIONS:check_and_rewrite(CFG, Coloring, 'normal'). |