summaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-13 04:44:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-13 04:44:20 +0000
commit196a18292115efc8bf2ee2e580bddf13f492e77d (patch)
treea69d80efd9c14750358fe223f9c6ff254df5eb3f /iseq.c
parent8ba869725f728790c4381a9b897b23cd66c7e35c (diff)
downloadruby-196a18292115efc8bf2ee2e580bddf13f492e77d.tar.gz
ruby-196a18292115efc8bf2ee2e580bddf13f492e77d.tar.xz
ruby-196a18292115efc8bf2ee2e580bddf13f492e77d.zip
* insns.def, vm_insnhelper.c (getinstancevariable):
fix to use inline cache. * compile.c: fix to skip inline cache entry (IC). IC is added automatically by compiler. * insns.def, vm_insnhelper.h: fix IC positions. * iseq.c: increment minor_version of ISeq because of above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iseq.c b/iseq.c
index ac9f572ca..b01874b98 100644
--- a/iseq.c
+++ b/iseq.c
@@ -1294,8 +1294,8 @@ iseq_data_to_ary(rb_iseq_t *iseq)
* :catch_table, :bytecode]
*/
rb_ary_push(val, rb_str_new2("YARVInstructionSequence/SimpleDataFormat"));
- rb_ary_push(val, INT2FIX(1));
- rb_ary_push(val, INT2FIX(1));
+ rb_ary_push(val, INT2FIX(1)); /* major */
+ rb_ary_push(val, INT2FIX(2)); /* minor */
rb_ary_push(val, INT2FIX(1));
rb_ary_push(val, misc);
rb_ary_push(val, iseq->name);