diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-06-18 14:30:28 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-24 16:22:30 +0200 |
commit | 4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e (patch) | |
tree | 2cf43f681bdcbcdd3ff31513c0efda86f7d9bd4a /erts/emulator/beam/erl_map.h | |
parent | c5ee304b5e73a5e5a9ac38c1180971baa051824b (diff) | |
download | otp-4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e.tar.gz otp-4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e.tar.bz2 otp-4f9c6bd8fc7090dcbc4b5b3cf595e1689fdaff7e.zip |
erts: Remove halfword basic relative heap operations
Diffstat (limited to 'erts/emulator/beam/erl_map.h')
-rw-r--r-- | erts/emulator/beam/erl_map.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/erts/emulator/beam/erl_map.h b/erts/emulator/beam/erl_map.h index 2f7c55829f..be6f791a4e 100644 --- a/erts/emulator/beam/erl_map.h +++ b/erts/emulator/beam/erl_map.h @@ -57,7 +57,6 @@ typedef struct flatmap_s { #define hashmap_size(x) (((hashmap_head_t*) hashmap_val(x))->size) -#define hashmap_size_rel(RTERM, BASE) hashmap_size(rterm2wterm(RTERM, BASE)) #define hashmap_make_hash(Key) make_internal_hash(Key) #define hashmap_restore_hash(Heap,Lvl,Key) \ @@ -104,13 +103,9 @@ Eterm erts_hashmap_from_array(ErtsHeapFactory*, Eterm *leafs, Uint n, int rejec Eterm erts_hashmap_from_ks_and_vs_extra(Process *p, Eterm *ks, Eterm *vs, Uint n, Eterm k, Eterm v); -const Eterm * -erts_maps_get(Eterm key, Eterm map); -#define erts_maps_get_rel(A, B, B_BASE) erts_maps_get(A, B) +const Eterm *erts_maps_get(Eterm key, Eterm map); -const Eterm * -erts_hashmap_get(Uint32 hx, Eterm key, Eterm map); -#define erts_hashmap_get_rel(Hx, K, M, M_BASE) erts_hashmap_get(Hx, K, M) +const Eterm *erts_hashmap_get(Uint32 hx, Eterm key, Eterm map); /* hamt nodes v2.0 * |