summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/iseq.c b/iseq.c
index e7482e9ba1..b1f7ba2204 100644
--- a/iseq.c
+++ b/iseq.c
@@ -664,7 +664,6 @@ ruby_iseq_disasm_insn(VALUE ret, VALUE *iseq, int pos,
child);
rb_str_concat(str, opstr);
- GC_CHECK();
if (types[j + 1]) {
rb_str_cat2(str, ", ");
}
@@ -801,8 +800,6 @@ ruby_iseq_disasm(VALUE self)
rb_str_cat2(str, "\n");
}
- GC_CHECK();
-
/* show each line */
for (i = 0; i < size;) {
i += ruby_iseq_disasm_insn(str, iseq, i, iseqdat, child);