Fix a typo [ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kazu 2017-11-10 13:50:14 +00:00
parent 139eb4e862
commit 7dae879770

View File

@ -32,7 +32,7 @@ inline static int
calc_lineno(const rb_iseq_t *iseq, const VALUE *pc)
{
size_t pos = (size_t)(pc - iseq->body->iseq_encoded);
/* use pos-1 because PC points next instruction at the beggining of instruction */
/* use pos-1 because PC points next instruction at the beginning of instruction */
return rb_iseq_line_no(iseq, pos - 1);
}