ruby-changes:57571
From: Aaron <ko1@a...>
Date: Fri, 6 Sep 2019 02:30:10 +0900 (JST)
Subject: [ruby-changes:57571] 8cd845aa5b (master): add debugging code to the mark function
https://git.ruby-lang.org/ruby.git/commit/?id=8cd845aa5b From 8cd845aa5b69e49c1092a482f8c14f85f899e038 Mon Sep 17 00:00:00 2001 From: Aaron Patterson <tenderlove@r...> Date: Wed, 4 Sep 2019 17:00:09 -0700 Subject: add debugging code to the mark function diff --git a/node.c b/node.c index 7ebc1cb..7c73bb8 100644 --- a/node.c +++ b/node.c @@ -1276,6 +1276,8 @@ mark_ast_value(void *ctx, NODE * node) https://github.com/ruby/ruby/blob/trunk/node.c#L1276 case NODE_ARYPTN: rb_gc_mark(node->nd_lit); break; + default: + rb_bug("unreachable"); } } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/