summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index f7b2515cec..b68e26fc3b 100644
--- a/vm.c
+++ b/vm.c
@@ -2704,9 +2704,6 @@ th_init(rb_thread_t *th, VALUE self)
0 /* dummy cref/me */,
0 /* dummy pc */, th->ec->vm_stack, 0, 0
);
- } else {
- th->ec->cfp = NULL;
- rb_ec_set_vm_stack(th->ec, NULL, 0);
}
th->status = THREAD_RUNNABLE;