aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorCristian Greco <cristian@regolo.cc>2020-11-18 18:04:09 +0000
committerKoichi Sasada <ko1@atdot.net>2020-11-19 07:11:36 +0900
commitce3c9a34379015473ad6559e75c59e93159894e5 (patch)
tree807d3849c6a952630b6c283b3e52a368af7553ca /hash.c
parentdc3a65bd99a5d086906bdf299fced99be4d862ac (diff)
downloadruby-ce3c9a34379015473ad6559e75c59e93159894e5.tar.gz
Fix USE_TRANSIENT_HEAP macro usage in hash.c
Additionally fix some typos in transient heap.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index e0f8773b64..f951d59e96 100644
--- a/hash.c
+++ b/hash.c
@@ -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);