This check and class change is redundant because it is done in class.c#mrb_include_module

This commit is contained in:
Carson McDonald
2013-08-13 11:38:27 -04:00
parent 9827462e38
commit 7a2e0d6cf5
+1 -6
View File
@@ -897,12 +897,7 @@ mrb_run(mrb_state *mrb, struct RProc *proc, mrb_value self)
else {
ci->argc = n;
}
if (c->tt == MRB_TT_ICLASS) {
ci->target_class = c->c;
}
else {
ci->target_class = c;
}
ci->target_class = c;
ci->pc = pc + 1;
ci->acc = a;