mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
b40dbc304e
commit
bfc19ade2e
3 changed files with 18 additions and 9 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Dec 25 11:14:20 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* iseq.c, vm_core.h: comment out unused fields.
|
||||
|
||||
Tue Dec 25 11:02:10 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm.c: check frame is FINAL when creating env.
|
||||
|
|
13
iseq.c
13
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);
|
||||
|
|
10
vm_core.h
10
vm_core.h
|
@ -257,10 +257,12 @@ struct rb_iseq_struct {
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue