aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_binary.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-06-18 17:43:59 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-24 16:22:31 +0200
commitaf8bb5e30b021b7b8e80ed96f3f3e16c18b865e5 (patch)
tree64e051e6531fa653a980c2a249c83bc34f258a76 /erts/emulator/beam/erl_binary.h
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/erl_binary.h')
-rw-r--r--erts/emulator/beam/erl_binary.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/erts/emulator/beam/erl_binary.h b/erts/emulator/beam/erl_binary.h
index d24d041530..e181b5555d 100644
--- a/erts/emulator/beam/erl_binary.h
+++ b/erts/emulator/beam/erl_binary.h
@@ -94,10 +94,7 @@ typedef struct erl_heap_bin {
* Bitsize: output variable (Uint)
*/
-#define ERTS_GET_BINARY_BYTES(Bin,Bytep,Bitoffs,Bitsize) \
- ERTS_GET_BINARY_BYTES_REL(Bin,Bytep,Bitoffs,Bitsize,NULL)
-
-#define ERTS_GET_BINARY_BYTES_REL(Bin,Bytep,Bitoffs,Bitsize,BasePtr) \
+#define ERTS_GET_BINARY_BYTES(Bin,Bytep,Bitoffs,Bitsize) \
do { \
Eterm* _real_bin = binary_val(Bin); \
Uint _offs = 0; \
@@ -130,9 +127,6 @@ do { \
*/
#define ERTS_GET_REAL_BIN(Bin, RealBin, ByteOffset, BitOffset, BitSize) \
- ERTS_GET_REAL_BIN_REL(Bin, RealBin, ByteOffset, BitOffset, BitSize, NULL)
-
-#define ERTS_GET_REAL_BIN_REL(Bin, RealBin, ByteOffset, BitOffset, BitSize, BasePtr) \
do { \
ErlSubBin* _sb = (ErlSubBin *) binary_val(Bin); \
if (_sb->thing_word == HEADER_SUB_BIN) { \