summaryrefslogtreecommitdiffstats
path: root/iseq.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 02:17:16 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 02:17:16 +0000
commit65bf52a32b369a40db9dd8d91dcada0638525fda (patch)
treefa5e81b264a4e7b15042f4daf3eb8fd7363630b8 /iseq.c
parent34d287c10aca44f4dd20b3ff128c97c76edcbfc9 (diff)
downloadruby-65bf52a32b369a40db9dd8d91dcada0638525fda.tar.gz
ruby-65bf52a32b369a40db9dd8d91dcada0638525fda.tar.xz
ruby-65bf52a32b369a40db9dd8d91dcada0638525fda.zip
* iseq.c, vm_core.h: comment out unused fields.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/iseq.c b/iseq.c
index 03d20599b..9cf3ba5ba 100644
--- a/iseq.c
+++ b/iseq.c
@@ -82,8 +82,8 @@ iseq_mark(void *ptr)
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,9 +164,12 @@ prepare_iseq_build(rb_iseq_t *iseq,
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);