summaryrefslogtreecommitdiff
path: root/insnhelper.ci
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-14 07:14:13 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-14 07:14:13 +0000
commit8b92f5df326ed21d1afeb8e7a6f46587846c9a1f (patch)
treef457610b909b24c8dd22225aea75148aaf313863 /insnhelper.ci
parent73c8bfa6482b6ca63710c0d913d25e7dc8bba378 (diff)
* insnhelper.ci (vm_expandarray): should be volatile value for GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.ci')
-rw-r--r--insnhelper.ci1
1 files changed, 1 insertions, 0 deletions
diff --git a/insnhelper.ci b/insnhelper.ci
index d0c9306ea0..ba12ac6236 100644
--- a/insnhelper.ci
+++ b/insnhelper.ci
@@ -1334,6 +1334,7 @@ vm_expandarray(rb_control_frame_t *cfp, VALUE ary, int num, int flag)
int is_splat = flag & 0x01;
int space_size = num + is_splat;
VALUE *base = cfp->sp, *ptr;
+ volatile VALUE tmp_ary = ary;
int len;
cfp->sp += space_size;