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

ruby-changes:3150

From: ko1@a...
Date: 25 Dec 2007 11:18:08 +0900
Subject: [ruby-changes:3150] ko1 - Ruby:r14642 (trunk): * iseq.c, vm_core.h: comment out unused fields.

ko1	2007-12-25 11:17:16 +0900 (Tue, 25 Dec 2007)

  New Revision: 14642

  Modified files:
    trunk/ChangeLog
    trunk/iseq.c
    trunk/vm_core.h

  Log:
    * iseq.c, vm_core.h: comment out unused fields.
    


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14642&r2=14641
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm_core.h?r1=14642&r2=14641
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/iseq.c?r1=14642&r2=14641

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 14641)
+++ ChangeLog	(revision 14642)
@@ -1,3 +1,7 @@
+Tue Dec 25 11:14:20 2007  Koichi Sasada  <ko1@a...>
+
+	* iseq.c, vm_core.h: comment out unused fields.
+
 Tue Dec 25 11:02:10 2007  Koichi Sasada  <ko1@a...>
 
 	* vm.c: check frame is FINAL when creating env.
Index: vm_core.h
===================================================================
--- vm_core.h	(revision 14641)
+++ vm_core.h	(revision 14642)
@@ -257,10 +257,12 @@
     VALUE self;
 
     /* block inlining */
-    NODE *node;
-    void *special_block_builder;
-    void *cached_special_block_builder;
-    VALUE cached_special_block;
+    /* 
+     * NODE *node;
+     * void *special_block_builder;
+     * void *cached_special_block_builder;
+     * VALUE cached_special_block;
+     */
 
     /* klass/module nest information stack (cref) */
     NODE *cref_stack;
Index: iseq.c
===================================================================
--- iseq.c	(revision 14641)
+++ iseq.c	(revision 14642)
@@ -82,8 +82,8 @@
 	RUBY_MARK_UNLESS_NULL(iseq->filename);
 	RUBY_MARK_UNLESS_NULL((VALUE)iseq->cref_stack);
 	RUBY_MARK_UNLESS_NULL(iseq->klass);
-	RUBY_MARK_UNLESS_NULL((VALUE)iseq->node);
-	RUBY_MARK_UNLESS_NULL(iseq->cached_special_block);
+/* 	RUBY_MARK_UNLESS_NULL((VALUE)iseq->node); */
+/*	RUBY_MARK_UNLESS_NULL(iseq->cached_special_block); */
 
 	if (iseq->compile_data != 0) {
 	    RUBY_MARK_UNLESS_NULL(iseq->compile_data->mark_ary);
@@ -164,10 +164,13 @@
     iseq->arg_rest = -1;
     iseq->arg_block = -1;
     iseq->klass = 0;
-    iseq->special_block_builder = GC_GUARDED_PTR_REF(block_opt);
-    iseq->cached_special_block_builder = 0;
-    iseq->cached_special_block = 0;
 
+    /*
+     * iseq->special_block_builder = GC_GUARDED_PTR_REF(block_opt);
+     * iseq->cached_special_block_builder = 0;
+     * iseq->cached_special_block = 0;
+     */
+
     iseq->compile_data = ALLOC(struct iseq_compile_data);
     MEMZERO(iseq->compile_data, struct iseq_compile_data, 1);
     iseq->compile_data->mark_ary = rb_ary_new();

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

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