1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
ko1 2007-09-14 07:14:13 +00:00
parent 73c8bfa648
commit 8b92f5df32
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Fri Sep 14 16:12:10 2007 Koichi Sasada <ko1@atdot.net>
* insnhelper.ci (vm_expandarray): should be volatile value for GC.
Thu Sep 13 15:42:03 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* compile.c (iseq_compile_each): inline cache entries are overwritten

View file

@ -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;

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2007-09-13"
#define RUBY_RELEASE_DATE "2007-09-14"
#define RUBY_VERSION_CODE 190
#define RUBY_RELEASE_CODE 20070913
#define RUBY_RELEASE_CODE 20070914
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 9
#define RUBY_RELEASE_DAY 13
#define RUBY_RELEASE_DAY 14
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];