aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: