* vm_insnhelper.c: fix a typo. [ci skip]

check_resopnd_to_missing -> check_respond_to_missing

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagachika 2015-06-02 20:03:54 +00:00
parent d67641086b
commit 4fc87d4cb5

View File

@ -2410,7 +2410,7 @@ FUNC_FASTCALL(rb_vm_opt_struct_aset)(rb_thread_t *th, rb_control_frame_t *reg_cf
/* defined insn */ /* defined insn */
static enum defined_type static enum defined_type
check_resopnd_to_missing(VALUE obj, VALUE v) check_respond_to_missing(VALUE obj, VALUE v)
{ {
VALUE args[2]; VALUE args[2];
VALUE r; VALUE r;
@ -2466,7 +2466,7 @@ vm_defined(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_num_t op_type, VALUE
expr_type = DEFINED_METHOD; expr_type = DEFINED_METHOD;
} }
else { else {
expr_type = check_resopnd_to_missing(obj, v); expr_type = check_respond_to_missing(obj, v);
} }
break; break;
case DEFINED_METHOD:{ case DEFINED_METHOD:{
@ -2481,7 +2481,7 @@ vm_defined(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_num_t op_type, VALUE
} }
} }
else { else {
expr_type = check_resopnd_to_missing(obj, v); expr_type = check_respond_to_missing(obj, v);
} }
break; break;
} }