diff options
author | Cristian Greco <[email protected]> | 2020-11-18 18:04:09 +0000 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-11-19 07:11:36 +0900 |
commit | ce3c9a34379015473ad6559e75c59e93159894e5 (patch) | |
tree | 807d3849c6a952630b6c283b3e52a368af7553ca /hash.c | |
parent | dc3a65bd99a5d086906bdf299fced99be4d862ac (diff) |
Fix USE_TRANSIENT_HEAP macro usage in hash.c
Additionally fix some typos in transient heap.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3787
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -532,7 +532,7 @@ hash_verify_(VALUE hash, const char *file, int line) HASH_ASSERT(RHASH_AR_TABLE_BOUND_RAW(hash) == 0); } -#if USE_TRANSIENT_HEP +#if USE_TRANSIENT_HEAP if (RHASH_TRANSIENT_P(hash)) { volatile st_data_t MAYBE_UNUSED(key) = RHASH_AR_TABLE_REF(hash, 0)->key; /* read */ HASH_ASSERT(RHASH_AR_TABLE(hash) != NULL); |