diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 00:12:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 00:12:53 +0000 |
commit | 7d3e758a44f3e86669726a20bfac8528ef6d9315 (patch) | |
tree | d61825ee4e1566555892466fdcbb74ba61caec95 /compile.c | |
parent | e6c4d558dc7dbdbb6a61c62303efb948747c8800 (diff) | |
download | ruby-7d3e758a44f3e86669726a20bfac8528ef6d9315.tar.gz |
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
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |