aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/utils.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <egil@erlang.org>2015-06-18 17:43:59 +0200
committerBjörn-Egil Dahlberg <egil@erlang.org>2015-06-24 16:22:31 +0200
commitaf8bb5e30b021b7b8e80ed96f3f3e16c18b865e5 (patch)
tree64e051e6531fa653a980c2a249c83bc34f258a76 /erts/emulator/beam/utils.c
parent64aa348700cc380f3525be01d3c815f6ecb398cd (diff)
downloadotp-af8bb5e30b021b7b8e80ed96f3f3e16c18b865e5.tar.gz
otp-af8bb5e30b021b7b8e80ed96f3f3e16c18b865e5.tar.bz2
otp-af8bb5e30b021b7b8e80ed96f3f3e16c18b865e5.zip
erts: Remove halfword BINARY RELs
* ERTS_GET_BINARY_BYTES_REL * ERTS_GET_REAL_BIN_REL
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r--erts/emulator/beam/utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index acd6cf1072..a741e2e2e6 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -2675,8 +2675,8 @@ tailrecur_ne:
if (a_size != b_size) {
goto not_equal;
}
- ERTS_GET_BINARY_BYTES_REL(a, a_ptr, a_bitoffs, a_bitsize, a_base);
- ERTS_GET_BINARY_BYTES_REL(b, b_ptr, b_bitoffs, b_bitsize, b_base);
+ ERTS_GET_BINARY_BYTES(a, a_ptr, a_bitoffs, a_bitsize);
+ ERTS_GET_BINARY_BYTES(b, b_ptr, b_bitoffs, b_bitsize);
if ((a_bitsize | b_bitsize | a_bitoffs | b_bitoffs) == 0) {
if (sys_memcmp(a_ptr, b_ptr, a_size) == 0) goto pop_next;
} else if (a_bitsize == b_bitsize) {
@@ -3490,8 +3490,8 @@ tailrecur_ne:
int cmp;
byte* a_ptr;
byte* b_ptr;
- ERTS_GET_BINARY_BYTES_REL(a, a_ptr, a_bitoffs, a_bitsize, a_base);
- ERTS_GET_BINARY_BYTES_REL(b, b_ptr, b_bitoffs, b_bitsize, b_base);
+ ERTS_GET_BINARY_BYTES(a, a_ptr, a_bitoffs, a_bitsize);
+ ERTS_GET_BINARY_BYTES(b, b_ptr, b_bitoffs, b_bitsize);
if ((a_bitsize | b_bitsize | a_bitoffs | b_bitoffs) == 0) {
min_size = (a_size < b_size) ? a_size : b_size;
if ((cmp = sys_memcmp(a_ptr, b_ptr, min_size)) != 0) {