summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm.c b/vm.c
index 63021533b6..30d0f8a7bd 100644
--- a/vm.c
+++ b/vm.c
@@ -604,7 +604,6 @@ invoke_block_from_c(rb_thread_t *th, const rb_block_t *block,
cfp->sp + arg_size, iseq->local_size - arg_size,
th->passed_me);
th->passed_me = 0;
- th->passed_block = blockptr;
if (cref) {
th->cfp->ep[-1] = (VALUE)cref;