summaryrefslogtreecommitdiff
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
commitbfc19ade2e824dd549868d601b2c688f6ad928c5 (patch)
treefa5e81b264a4e7b15042f4daf3eb8fd7363630b8 /iseq.c
parentb40dbc304efe8297d7dbe10d6781c7608a651934 (diff)
* iseq.c, vm_core.h: comment out unused fields.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 03d2059..9cf3ba5 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);