summaryrefslogtreecommitdiff
path: root/imemo.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2025-01-06 16:13:43 -0500
committerPeter Zhu <[email protected]>2025-01-07 11:01:08 -0500
commitd0f9f3e2c6eb074aa94f1460cce5a24c2415495f (patch)
treee84ffdb871e741e170d808d6d79fbc001ca46353 /imemo.c
parentb9d29912dd03d0858187cc4770c76152add0f3f8 (diff)
Remove IMEMO_DEBUG
The code path hasn't compiled for almost a year, since 330830dd1a44b6e497250a14d93efae6fa363f82, so probably nobody uses it.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12519
Diffstat (limited to 'imemo.c')
-rw-r--r--imemo.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/imemo.c b/imemo.c
index 254f3d177b..0a3b7d7187 100644
--- a/imemo.c
+++ b/imemo.c
@@ -110,16 +110,6 @@ rb_imemo_tmpbuf_parser_heap(void *buf, rb_imemo_tmpbuf_t *old_heap, size_t cnt)
return tmpbuf;
}
-#if IMEMO_DEBUG
-VALUE
-rb_imemo_new_debug(enum imemo_type type, VALUE v0, const char *file, int line)
-{
- VALUE memo = rb_imemo_new(type, v0);
- fprintf(stderr, "memo %p (type: %d) @ %s:%d\n", (void *)memo, imemo_type(memo), file, line);
- return memo;
-}
-#endif
-
/* =========================================================================
* memsize
* ========================================================================= */