aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-08-24 06:01:25 +0200
committerBjörn Gustavsson <[email protected]>2011-11-17 10:09:51 +0100
commit4b5b0e804255bfa537200617ddbc6104d4fd7c75 (patch)
treec490cc8073cb0b693f835f290fc4b1277d0fe9c6 /erts/emulator/beam/erl_message.c
parent379064981ecccc8c099623cdb93894d02a6bcdc1 (diff)
downloadotp-4b5b0e804255bfa537200617ddbc6104d4fd7c75.tar.gz
otp-4b5b0e804255bfa537200617ddbc6104d4fd7c75.tar.bz2
otp-4b5b0e804255bfa537200617ddbc6104d4fd7c75.zip
external.c: Remove the option to create over-sized heap binaries
Since refc binaries are now supported in literal pools, there is no longer any need to allow the creation of over-sized heap binaries.
Diffstat (limited to 'erts/emulator/beam/erl_message.c')
-rw-r--r--erts/emulator/beam/erl_message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_message.c b/erts/emulator/beam/erl_message.c
index 82f272d28a..16be47d540 100644
--- a/erts/emulator/beam/erl_message.c
+++ b/erts/emulator/beam/erl_message.c
@@ -240,7 +240,7 @@ erts_msg_distext2heap(Process *pp,
Sint sz;
*bpp = NULL;
- sz = erts_decode_dist_ext_size(dist_extp, 0);
+ sz = erts_decode_dist_ext_size(dist_extp);
if (sz < 0)
goto decode_error;
if (is_not_nil(*tokenp)) {
@@ -713,7 +713,7 @@ erts_msg_attached_data_size_aux(ErlMessage *msg)
ASSERT(msg->data.dist_ext);
ASSERT(msg->data.dist_ext->heap_size < 0);
- sz = erts_decode_dist_ext_size(msg->data.dist_ext, 0);
+ sz = erts_decode_dist_ext_size(msg->data.dist_ext);
if (sz < 0) {
/* Bad external; remove it */
if (is_not_nil(ERL_MESSAGE_TOKEN(msg))) {