[前][次][番号順一覧][スレッド一覧]

ruby-changes:15089

From: mame <ko1@a...>
Date: Thu, 18 Mar 2010 02:33:55 +0900 (JST)
Subject: [ruby-changes:15089] Ruby:r26966 (trunk): * compile.c (iseq_build_body): add mark to jump table hash of case.

mame	2010-03-18 02:33:01 +0900 (Thu, 18 Mar 2010)

  New Revision: 26966

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26966

  Log:
    * compile.c (iseq_build_body): add mark to jump table hash of case.

  Modified files:
    trunk/ChangeLog
    trunk/compile.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 26965)
+++ ChangeLog	(revision 26966)
@@ -1,3 +1,7 @@
+Thu Mar 18 02:29:42 2010  Yusuke Endoh  <mame@t...>
+
+	* compile.c (iseq_build_body): add mark to jump table hash of case.
+
 Thu Mar 18 00:58:27 2010  NARUSE, Yui  <naruse@r...>
 
 	* util.c (ruby_strtod): Add support for Hexadecimal
Index: compile.c
===================================================================
--- compile.c	(revision 26965)
+++ compile.c	(revision 26966)
@@ -5290,6 +5290,7 @@
 				rb_ary_store(op, i+1, (VALUE)label | 1);
 			    }
 			    argv[j] = op;
+			    iseq_add_mark_object_compile_time(iseq, op);
 			}
 			break;
 		      default:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]