summaryrefslogtreecommitdiff
path: root/vm_eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-06 04:14:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-06 04:14:00 +0000
commitd93d45fea7598dccab03447a19988a05e6c55ae0 (patch)
treee155639f69cfe66c1dabafb78939e342097ba087 /vm_eval.c
parentcc48423ead1d9e4b46dfeca7a45437793fc29521 (diff)
downloadbundler-d93d45fea7598dccab03447a19988a05e6c55ae0.tar.gz
vm_eval.c: remove dead code
* vm_eval.c (vm_call_super): since cfp->klass is always class or iclass, no search from method entry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 05d5d883b9..6b01cc3708 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -162,10 +162,6 @@ vm_call_super(rb_thread_t *th, int argc, const VALUE *argv)
if (!cfp->iseq && !NIL_P(cfp->klass)) {
klass = RCLASS_SUPER(cfp->klass);
-
- if (klass == 0) {
- klass = vm_search_normal_superclass(cfp->me->klass);
- }
id = cfp->me->def->original_id;
}
else {