From ad0ef29da7ac37b978c281b1e0070fbb6afbe2e6 Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 26 Aug 2013 05:47:27 +0000 Subject: * array.c (rb_ary_splice): use RARRAY_PTR_USE() without WB because there are not new relations. * enum.c (enum_sort_by): ditto. * struct.c (setup_struct): use RARRAY_RAWPTR(). * vm_eval.c (yield_under): ditto. * ext/pathname/pathname.c (path_entries): use RARRAY_AREF(). * ext/pathname/pathname.c (path_s_glob): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm_eval.c') diff --git a/vm_eval.c b/vm_eval.c index a7f6c70b10..99a98d5cf5 100644 --- a/vm_eval.c +++ b/vm_eval.c @@ -1510,7 +1510,7 @@ yield_under(VALUE under, VALUE self, VALUE values) return vm_yield_with_cref(th, 1, &self, cref); } else { - return vm_yield_with_cref(th, RARRAY_LENINT(values), RARRAY_PTR(values), cref); + return vm_yield_with_cref(th, RARRAY_LENINT(values), RARRAY_RAWPTR(values), cref); } } -- cgit v1.2.3