diff options
author | Sverker Eriksson <[email protected]> | 2017-11-07 20:23:43 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-11-07 20:23:43 +0100 |
commit | 009739af6cb71b24f519ae053dbeabe0a170cc79 (patch) | |
tree | cd117eec89c691db342d96c78f4f23aa7116d70c /erts/emulator/hipe/hipe_amd64_bifs.m4 | |
parent | 370ef6e794c9199cb2b0a24d820203c4dc2b7a0e (diff) | |
parent | 54fd69c2887d1a76cae3bf43e31e611dbcf152fa (diff) | |
download | otp-009739af6cb71b24f519ae053dbeabe0a170cc79.tar.gz otp-009739af6cb71b24f519ae053dbeabe0a170cc79.tar.bz2 otp-009739af6cb71b24f519ae053dbeabe0a170cc79.zip |
Merge branch 'sverker/cleanup-hipe_bs_validate_unicode'
* sverker/cleanup-hipe_bs_validate_unicode:
erts: Remove obsolete hipe primop bs_validate_unicode
Diffstat (limited to 'erts/emulator/hipe/hipe_amd64_bifs.m4')
-rw-r--r-- | erts/emulator/hipe/hipe_amd64_bifs.m4 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/erts/emulator/hipe/hipe_amd64_bifs.m4 b/erts/emulator/hipe/hipe_amd64_bifs.m4 index 6d998c4b55..cf4c59c9af 100644 --- a/erts/emulator/hipe/hipe_amd64_bifs.m4 +++ b/erts/emulator/hipe/hipe_amd64_bifs.m4 @@ -462,42 +462,6 @@ ASYM($1): TYPE_FUNCTION(ASYM($1)) #endif') -/* - * nogc_bif_interface_1(nbif_name, cbif_name) - * - * Generate native interface for a bif with implicit P - * The bif can fail but cannot do GC. - */ - -define(nogc_bif_interface_1, -` -#ifndef HAVE_$1 -#`define' HAVE_$1 - TEXT - .align 4 - GLOBAL(ASYM($1)) -ASYM($1): - /* set up the parameters */ - movq P, %rdi - NBIF_ARG(%rsi,1,0) - - /* make the call on the C stack */ - SWITCH_ERLANG_TO_C - pushq %rsi - movq %rsp, %rsi /* Eterm* BIF__ARGS */ - sub $(8), %rsp /* stack frame 16-byte alignment */ - CALL_BIF($2) - add $(1*8 + 8), %rsp - SWITCH_C_TO_ERLANG - - /* throw exception if failure, otherwise return */ - TEST_GOT_EXN - jz nbif_1_simple_exception - NBIF_RET(1) - SET_SIZE(ASYM($1)) - TYPE_FUNCTION(ASYM($1)) -#endif') - /* * noproc_primop_interface_0(nbif_name, cbif_name) |