summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def6
1 files changed, 4 insertions, 2 deletions
diff --git a/insns.def b/insns.def
index 3c4d98073b..3c185bd084 100644
--- a/insns.def
+++ b/insns.def
@@ -928,13 +928,15 @@ defineclass
rb_bug("unknown defineclass type: %d", (int)type);
}
+ rb_iseq_check(class_iseq);
+
/* enter scope */
vm_push_frame(th, class_iseq, VM_FRAME_MAGIC_CLASS, klass,
VM_ENVVAL_BLOCK_PTR(GET_BLOCK_PTR()),
(VALUE)vm_cref_push(th, klass, NULL, FALSE),
class_iseq->body->iseq_encoded, GET_SP(),
- class_iseq->body->local_size, class_iseq->body->stack_max);
-
+ class_iseq->body->local_size,
+ class_iseq->body->stack_max);
RESTORE_REGS();
NEXT_INSN();
}