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

ruby-changes:4843

From: ko1@a...
Date: Fri, 9 May 2008 07:48:54 +0900 (JST)
Subject: [ruby-changes:4843] matz - Ruby:r16337 (trunk): * cont.c (cont_restore_0): dynamic stack direction code should be

matz	2008-05-09 07:48:38 +0900 (Fri, 09 May 2008)

  New Revision: 16337

  Modified files:
    trunk/ChangeLog
    trunk/cont.c

  Log:
    * cont.c (cont_restore_0): dynamic stack direction code should be
      consistent with static one.  [ruby-talk:301152]

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/cont.c?r1=16337&r2=16336&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16337&r2=16336&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 16336)
+++ ChangeLog	(revision 16337)
@@ -1,3 +1,8 @@
+Fri May  9 07:47:07 2008  Yukihiro Matsumoto  <matz@r...>
+
+	* cont.c (cont_restore_0): dynamic stack direction code should be
+	  consistent with static one.  [ruby-talk:301152]
+
 Fri May  9 00:03:50 2008  Yukihiro Matsumoto  <matz@r...>
 
 	* parse.y (arg): operator assignment "a += b rescue c" should be
Index: cont.c
===================================================================
--- cont.c	(revision 16336)
+++ cont.c	(revision 16337)
@@ -323,7 +323,7 @@
 #else
 	if (addr_in_prev_frame > &space[0]) {
 	    /* Stack grows downward */
-	    if (addr_in_prev_frame > cont->saved_thread.machine_stack_size) {
+	    if (addr_in_prev_frame > cont->machine_stack_src) {
 		cont_restore_0(cont, &space[0]);
 	    }
 	}

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

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