aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/io.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-18 14:30:28 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-24 16:22:30 +0200
commit4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e (patch)
tree2cf43f681bdcbcdd3ff31513c0efda86f7d9bd4a /erts/emulator/beam/io.c
parentc5ee304b5e73a5e5a9ac38c1180971baa051824b (diff)
downloadotp-4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e.tar.gz
otp-4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e.tar.bz2
otp-4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e.zip
erts: Remove halfword basic relative heap operations
Diffstat (limited to 'erts/emulator/beam/io.c')
-rw-r--r--erts/emulator/beam/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/io.c b/erts/emulator/beam/io.c
index c365b8859b..6b4b90cb06 100644
--- a/erts/emulator/beam/io.c
+++ b/erts/emulator/beam/io.c
@@ -4091,10 +4091,10 @@ erts_port_control(Process* c_p,
binp = NULL;
if (is_binary(data) && binary_bitoffset(data) == 0) {
- Eterm *ebinp = binary_val_rel(data, NULL);
+ Eterm *ebinp = binary_val(data);
ASSERT(!tmp_alloced);
if (*ebinp == HEADER_SUB_BIN)
- ebinp = binary_val_rel(((ErlSubBin *) ebinp)->orig, NULL);
+ ebinp = binary_val(((ErlSubBin *) ebinp)->orig);
if (*ebinp != HEADER_PROC_BIN)
copy = 1;
else {