aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-07-01 22:04:55 +0200
committerSverker Eriksson <[email protected]>2014-08-29 16:11:24 +0200
commit88b094b6439737b61c117cd6873beea4518757a8 (patch)
tree6854431d5c2d8e5969a11a9a89fea9ed8b22a266 /erts/emulator/hipe
parent1af8998028f77b4ca01c52972a5983b072ef02d1 (diff)
downloadotp-88b094b6439737b61c117cd6873beea4518757a8.tar.gz
otp-88b094b6439737b61c117cd6873beea4518757a8.tar.bz2
otp-88b094b6439737b61c117cd6873beea4518757a8.zip
erts: Implement yielding for distributed send of large messages
Use same mechanism as term_to_binary to yield while encoding large messages for distributed send.
Diffstat (limited to 'erts/emulator/hipe')
-rw-r--r--erts/emulator/hipe/hipe_bif_list.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_bif_list.m4 b/erts/emulator/hipe/hipe_bif_list.m4
index 5f92b6bac4..96a849621f 100644
--- a/erts/emulator/hipe/hipe_bif_list.m4
+++ b/erts/emulator/hipe/hipe_bif_list.m4
@@ -277,7 +277,10 @@ ifelse($1,list_to_binary_1,hipe_wrapper_list_to_binary_1,
ifelse($1,iolist_to_binary_1,hipe_wrapper_iolist_to_binary_1,
ifelse($1,binary_list_to_bin_1,hipe_wrapper_binary_list_to_bin_1,
ifelse($1,list_to_bitstring_1,hipe_wrapper_list_to_bitstring_1,
-$1)))))))))))')
+ifelse($1,send_2,hipe_wrapper_send_2,
+ifelse($1,send_3,hipe_wrapper_send_3,
+ifelse($1,ebif_bang_2,hipe_wrapper_ebif_bang_2,
+$1))))))))))))))')
define(BIF_LIST,`standard_bif_interface_$3(nbif_$4, CFUN($4))')
include(TARGET/`erl_bif_list.h')