diff options
author | Mikael Pettersson <[email protected]> | 2015-01-11 16:40:06 +0100 |
---|---|---|
committer | Marcus Arendt <[email protected]> | 2015-01-26 15:54:28 +0100 |
commit | 14d585fdcafad61a377feeba1035d6ddcfaf0248 (patch) | |
tree | e9d70ee26ecbc84df2df94324de5b3f43989cfee /erts/emulator | |
parent | f9886a6d15c396ae1e0e69a58fb265c4c338ac93 (diff) | |
download | otp-14d585fdcafad61a377feeba1035d6ddcfaf0248.tar.gz otp-14d585fdcafad61a377feeba1035d6ddcfaf0248.tar.bz2 otp-14d585fdcafad61a377feeba1035d6ddcfaf0248.zip |
hipe: remove two obsolete BIFs
The hipe_bifs:make_native_stub/2 and hipe_bifs:get_emu_address/1
BIFs were originally used by hipe_unified_loader.erl, but the
code been obsolete and disabled for ages.
Remove the BIFs and all references to them.
In hipe_unified_loader.erl, remove the no-op emu_make_stubs/1
function.
Diffstat (limited to 'erts/emulator')
-rw-r--r-- | erts/emulator/hipe/hipe_amd64.c | 1 | ||||
-rw-r--r-- | erts/emulator/hipe/hipe_bif0.tab | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/erts/emulator/hipe/hipe_amd64.c b/erts/emulator/hipe/hipe_amd64.c index 16c597e7b4..627ba7603d 100644 --- a/erts/emulator/hipe/hipe_amd64.c +++ b/erts/emulator/hipe/hipe_amd64.c @@ -224,7 +224,6 @@ void *hipe_alloc_code(Uint nrbytes, Eterm callees, Eterm *trampolines, Process * return alloc_code(nrbytes); } - /* Make stub for native code calling exported beam function. */ void *hipe_make_native_stub(void *callee_exp, unsigned int beamArity) diff --git a/erts/emulator/hipe/hipe_bif0.tab b/erts/emulator/hipe/hipe_bif0.tab index 2514b1c3a5..d715a0914b 100644 --- a/erts/emulator/hipe/hipe_bif0.tab +++ b/erts/emulator/hipe/hipe_bif0.tab @@ -49,7 +49,6 @@ bif hipe_bifs:constants_size/0 bif hipe_bifs:merge_term/1 bif hipe_bifs:fun_to_address/1 -#bif hipe_bifs:get_emu_address/1 bif hipe_bifs:set_native_address/3 #bif hipe_bifs:address_to_fun/1 @@ -72,7 +71,6 @@ bif hipe_bifs:term_to_word/1 bif hipe_bifs:get_fe/2 bif hipe_bifs:set_native_address_in_fe/2 -#bif hipe_bifs:make_native_stub/2 bif hipe_bifs:find_na_or_make_stub/2 bif hipe_bifs:check_crc/1 |