summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2019-09-04 17:00:09 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2019-09-05 10:13:50 -0700
commit8cd845aa5b69e49c1092a482f8c14f85f899e038 (patch)
tree152691393147408b80a805821545b1b54b02411f
parent01aa2462b5abb6833af83f47961932ebca587573 (diff)
add debugging code to the mark function
-rw-r--r--node.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/node.c b/node.c
index 7ebc1cbd78..7c73bb8be6 100644
--- a/node.c
+++ b/node.c
@@ -1276,6 +1276,8 @@ mark_ast_value(void *ctx, NODE * node)
case NODE_ARYPTN:
rb_gc_mark(node->nd_lit);
break;
+ default:
+ rb_bug("unreachable");
}
}