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

ruby-changes:12255

From: nobu <ko1@a...>
Date: Fri, 3 Jul 2009 18:35:23 +0900 (JST)
Subject: [ruby-changes:12255] Ruby:r23945 (trunk): * vm_core.h (struct rb_iseq_struct): fixed types.

nobu	2009-07-03 18:35:08 +0900 (Fri, 03 Jul 2009)

  New Revision: 23945

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

  Log:
    * vm_core.h (struct rb_iseq_struct): fixed types.
    * vm_core.h (ic_vmstat): VM state version is VALUE.

  Modified files:
    trunk/ChangeLog
    trunk/vm_core.h

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 23944)
+++ ChangeLog	(revision 23945)
@@ -1,3 +1,9 @@
+Fri Jul  3 18:35:06 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* vm_core.h (struct rb_iseq_struct): fixed types.
+
+	* vm_core.h (ic_vmstat): VM state version is VALUE.
+
 Fri Jul  3 02:52:20 2009  Tanaka Akira  <akr@f...>
 
 	* time.c (find_time_t): time guess strategy refined again.
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 23944)
+++ vm_core.h	(revision 23945)
@@ -135,7 +135,7 @@
 
     /* insn info, must be freed */
     struct iseq_insn_info_entry *insn_info_table;
-    unsigned long insn_info_size;
+    size_t insn_info_size;
 
     ID *local_table;		/* must free */
     int local_table_size;
@@ -176,7 +176,7 @@
     int arg_size;
     VALUE *arg_opt_table;
 
-    int stack_max; /* for stack overflow check */
+    size_t stack_max; /* for stack overflow check */
 
     /* catch table */
     struct iseq_catch_table_entry *catch_table;
@@ -527,7 +527,7 @@
 #define ic_class  u1.value
 #define ic_method u2.node
 #define ic_value  u2.value
-#define ic_vmstat u3.cnt
+#define ic_vmstat u3.value
 typedef NODE *IC;
 
 void rb_vm_change_state(void);

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

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