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_amd64_specific_sse2.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_amd64_specific_sse2.erl')
-rw-r--r-- | lib/hipe/regalloc/hipe_amd64_specific_sse2.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl b/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl index 6ef79ce95d..35d19ef1df 100644 --- a/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl +++ b/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl @@ -54,8 +54,7 @@ reverse_postorder/1]). %% callbacks for hipe_regalloc_loop --export([defun_to_cfg/1, - check_and_rewrite/2, +-export([check_and_rewrite/2, check_and_rewrite/3]). %%---------------------------------------------------------------------------- @@ -64,9 +63,6 @@ %%---------------------------------------------------------------------------- -defun_to_cfg(AlreadyACFG) -> - AlreadyACFG. - check_and_rewrite(CFG, Coloring) -> hipe_amd64_ra_sse2_postconditions:check_and_rewrite(CFG, Coloring). |