summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm.c2
-rw-r--r--vm_eval.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index ba4cf3e..06719ad 100644
--- a/vm.c
+++ b/vm.c
@@ -832,7 +832,7 @@ invoke_block_from_c(rb_thread_t *th, const rb_block_t *block,
if (me != 0) {
/* bmethod */
- vm_push_frame(th, iseq, type | VM_FRAME_FLAG_FINISH | VM_FRAME_FLAG_BMETHOD, self,
+ vm_push_frame(th, iseq, type | VM_FRAME_FLAG_FINISH | VM_FRAME_FLAG_BMETHOD, self,
VM_ENVVAL_PREV_EP_PTR(block->ep),
(VALUE)me, /* cref or method (TODO: can we ignore cref?) */
iseq->iseq_encoded + opt_pc,
diff --git a/vm_eval.c b/vm_eval.c
index c63cffb..f97905d 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -116,7 +116,7 @@ vm_call0_cfunc_with_frame(rb_thread_t* th, rb_call_info_t *ci, const VALUE *argv
{
rb_control_frame_t *reg_cfp = th->cfp;
- vm_push_frame(th, 0, VM_FRAME_MAGIC_CFUNC, recv,
+ vm_push_frame(th, 0, VM_FRAME_MAGIC_CFUNC, recv,
VM_ENVVAL_BLOCK_PTR(blockptr), (VALUE)me,
0, reg_cfp->sp, 1, 0);