aboutsummaryrefslogtreecommitdiffstats
path: root/insnhelper.ci
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-01 05:20:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-01 05:20:06 +0000
commit2bbffcd6a401f047beda6ec4aadacc2c899afec6 (patch)
tree5a3506d396ab6878589a792d4719095a631a5658 /insnhelper.ci
parent6fafbfd63e9f56350e06910bbac70bf7ff0d5df0 (diff)
downloadruby-2bbffcd6a401f047beda6ec4aadacc2c899afec6.tar.gz
* insns.def (concatarray, splatarray): use to_a instead of
to_splat. * insnhelper.ci (caller_setup_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.ci')
-rw-r--r--insnhelper.ci2
1 files changed, 1 insertions, 1 deletions
diff --git a/insnhelper.ci b/insnhelper.ci
index 743cd64dff..d449980671 100644
--- a/insnhelper.ci
+++ b/insnhelper.ci
@@ -236,7 +236,7 @@ caller_setup_args(rb_thread_t *th, rb_control_frame_t *cfp, VALUE flag,
VALUE ary = *(cfp->sp - 1);
VALUE *ptr;
int i;
- VALUE tmp = rb_check_convert_type(ary, T_ARRAY, "Array", "to_splat");
+ VALUE tmp = rb_check_convert_type(ary, T_ARRAY, "Array", "to_a");
if (NIL_P(tmp)) {
/* do nothing */