diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 20:03:54 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-02 20:03:54 +0000 |
commit | d8b4a7a514993c6197f7d5fbd8f69e5787a134fc (patch) | |
tree | 84f4acb7bd0aee41599cdfaaaa9f9b86322b4298 /vm_insnhelper.c | |
parent | b211f535515bc7b315eb521a0d9e44117f0174a0 (diff) | |
download | ruby-d8b4a7a514993c6197f7d5fbd8f69e5787a134fc.tar.gz |
* 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
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index eba27f42cc..64a23b7d80 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -2410,7 +2410,7 @@ FUNC_FASTCALL(rb_vm_opt_struct_aset)(rb_thread_t *th, rb_control_frame_t *reg_cf /* defined insn */ static enum defined_type -check_resopnd_to_missing(VALUE obj, VALUE v) +check_respond_to_missing(VALUE obj, VALUE v) { VALUE args[2]; 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; } else { - expr_type = check_resopnd_to_missing(obj, v); + expr_type = check_respond_to_missing(obj, v); } break; 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 { - expr_type = check_resopnd_to_missing(obj, v); + expr_type = check_respond_to_missing(obj, v); } break; } |