1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

compile.c: unreachable than rb_bug [ci skip]

* compile.c (iseq_calc_param_size): use UNREACHABLE than rb_bug,
  at where never reachable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-11-08 00:12:53 +00:00
parent e6c4d558dc
commit 7d3e758a44

View file

@ -1510,7 +1510,7 @@ iseq_calc_param_size(rb_iseq_t *iseq)
body->param.size = body->param.lead_num + body->param.opt_num;
}
else {
rb_bug("unreachable");
UNREACHABLE;
}
}
else {