summaryrefslogtreecommitdiff
path: root/blockinlining.c
diff options
context:
space:
mode:
Diffstat (limited to 'blockinlining.c')
-rw-r--r--blockinlining.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/blockinlining.c b/blockinlining.c
index 9913b03..4f491c1 100644
--- a/blockinlining.c
+++ b/blockinlining.c
@@ -199,7 +199,7 @@ yarv_invoke_Integer_times_special_block(VALUE num)
th->cfp->lfp[0] = GC_GUARDED_PTR(&block);
argv[0] = INT2FIX(0);
argv[1] = num;
- val = th_yield(th, 2, argv);
+ val = vm_yield(th, 2, argv);
if (val == Qundef) {
return num;
}
@@ -318,7 +318,7 @@ yarv_invoke_Range_each_special_block(VALUE range,
th->cfp->lfp[0] = GC_GUARDED_PTR(&block);
argv[0] = beg;
argv[1] = end;
- val = th_yield(th, 2, argv);
+ val = vm_yield(th, 2, argv);
if (val == Qundef) {
return range;
}
@@ -448,7 +448,7 @@ yarv_invoke_Array_each_special_block(VALUE ary)
th->cfp->lfp[0] = GC_GUARDED_PTR(&block);
argv[0] = 0;
argv[1] = ary;
- val = th_yield(th, 2, argv);
+ val = vm_yield(th, 2, argv);
if (val == Qundef) {
return ary;
}