summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-06-12 14:38:56 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-06-12 14:38:56 -0400
commit3168f618cb3426dc2923b3dd1f315e34f4d137cd (patch)
tree8dade35503df65fe0985cf2d5f4331747ed17efb /hash.c
parent78ca085785460de46bfc4851a898d525c1698ef8 (diff)
hash.c no longer needs the transient heap
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/hash.c b/hash.c
index ff6f14fd06..6b8550de7f 100644
--- a/hash.c
+++ b/hash.c
@@ -44,7 +44,6 @@
#include "ruby/util.h"
#include "ruby_assert.h"
#include "symbol.h"
-#include "transient_heap.h"
#include "ruby/thread_native.h"
#include "ruby/ractor.h"
#include "vm_sync.h"
@@ -382,12 +381,10 @@ typedef st_index_t st_hash_t;
/*
* RHASH_AR_TABLE_P(h):
- * * as.ar == NULL or
- * as.ar points ar_table.
- * * as.ar is allocated by transient heap or xmalloc.
+ * RHASH_AR_TABLE points to ar_table.
*
* !RHASH_AR_TABLE_P(h):
- * * as.st points st_table.
+ * RHASH_ST_TABLE points st_table.
*/
#define RHASH_AR_TABLE_MAX_BOUND RHASH_AR_TABLE_MAX_SIZE