aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index d0f4ce406e..0440ec5fbc 100644
--- a/compile.c
+++ b/compile.c
@@ -549,8 +549,7 @@ verify_list(ISEQ_ARG_DECLARE const char *info, LINK_ANCHOR *const anchor)
static void
verify_call_cache(rb_iseq_t *iseq)
{
- return; /* comment out to enable */
-
+#if CPDEBUG
VALUE *original = rb_iseq_original_iseq(iseq);
size_t i = 0;
while (i < iseq->body->iseq_size) {
@@ -569,6 +568,7 @@ verify_call_cache(rb_iseq_t *iseq)
}
i += insn_len(insn);
}
+#endif
}
/*