aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-17 17:33:01 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-17 17:33:01 +0000
commitd47e0b989fd8d28095af2dc869c6e0932a6c4d85 (patch)
tree9b58ae1c1436bf2ea626d5ca3f0fb718a1da365d
parent9eb68d7c44a5c19396b3bc7123d3828bb7ae1b39 (diff)
downloadruby-d47e0b989fd8d28095af2dc869c6e0932a6c4d85.tar.gz
* compile.c (iseq_build_body): add mark to jump table hash of case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--compile.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c9c32615ff..8ee94ae26d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 18 02:29:42 2010 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * compile.c (iseq_build_body): add mark to jump table hash of case.
+
Thu Mar 18 00:58:27 2010 NARUSE, Yui <naruse@ruby-lang.org>
* util.c (ruby_strtod): Add support for Hexadecimal
diff --git a/compile.c b/compile.c
index a89bccbc2f..8b73cbd92f 100644
--- a/compile.c
+++ b/compile.c
@@ -5290,6 +5290,7 @@ iseq_build_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor,
rb_ary_store(op, i+1, (VALUE)label | 1);
}
argv[j] = op;
+ iseq_add_mark_object_compile_time(iseq, op);
}
break;
default: