diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-01 15:00:17 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-06-01 15:00:17 +0000 |
commit | abe5b048bd125191723dc8f7d7afdf42ea10d225 (patch) | |
tree | c442fa1f3ec30f51e3ac9be6aa6e13979e52f95b /vm_insnhelper.c | |
parent | ec38e0ead294225db415930bf5fe72e3b6a12c9f (diff) |
fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 058f31587d..99308a8a0a 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1702,7 +1702,7 @@ current_method_entry(rb_thread_t *th, rb_control_frame_t *cfp) } static VALUE -find_defiend_class_by_owner(VALUE current_class, VALUE target_owner) +find_defined_class_by_owner(VALUE current_class, VALUE target_owner) { VALUE klass = current_class; @@ -1793,7 +1793,7 @@ vm_call_method(rb_thread_t *th, rb_control_frame_t *cfp, rb_call_info_t *ci) } case VM_METHOD_TYPE_ALIAS: { ci->me = ci->me->def->body.alias.original_me; - ci->defined_class = find_defiend_class_by_owner(ci->defined_class, ci->me->klass /* owner */); + ci->defined_class = find_defined_class_by_owner(ci->defined_class, ci->me->klass /* owner */); goto normal_method_dispatch; } case VM_METHOD_TYPE_OPTIMIZED:{ |