Skip to content

Commit

Permalink
Remove clutter
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Oct 18, 2023
1 parent fa6b995 commit 53feb5a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/iddict.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,10 @@ size_t jl_eqtable_nextind(jl_array_t *t, size_t i)
JL_DLLEXPORT
ssize_t jl_eqtable_keyindex(jl_id_dict_t *d, jl_value_t *key)
{
jl_id_dict_t *dict = (jl_id_dict_t*)d;
jl_array_t *h = dict->ht;
jl_array_t *h = d->ht;

ssize_t index = jl_table_assign_bp(&h, key, NULL, 0);
jl_atomic_store_release((_Atomic(jl_array_t*)*)&dict->ht, h);
jl_atomic_store_release((_Atomic(jl_array_t*)*)&d->ht, h);
jl_gc_wb(d, h);

return index;
Expand Down

0 comments on commit 53feb5a

Please sign in to comment.