summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-08 00:12:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-08 00:12:53 +0000
commit7d3e758a44f3e86669726a20bfac8528ef6d9315 (patch)
treed61825ee4e1566555892466fdcbb74ba61caec95 /compile.c
parente6c4d558dc7dbdbb6a61c62303efb948747c8800 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 56a9e1a88a..b68f824a29 100644
--- a/compile.c
+++ b/compile.c
@@ -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 {