diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-08 14:02:46 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-08 14:02:46 +0000 |
commit | e028d3d90572a58f87f4efb6ada3ffdc857d44c7 (patch) | |
tree | 5ebc23392d78957fa43fd4437b3d265d2e6effa7 /iseq.c | |
parent | 7b6e6ede60864563c66f909ca7dba5a13f49d883 (diff) | |
download | ruby-e028d3d90572a58f87f4efb6ada3ffdc857d44c7.tar.gz |
* eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h,
vm_method.c: rename omod and overlaid modules to refinements.
* eval.c (hidden_identity_hash_new): renamed from identity_hash_new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -202,11 +202,11 @@ set_relation(rb_iseq_t *iseq, const VALUE parent) if (type == ISEQ_TYPE_TOP) { /* toplevel is private */ iseq->cref_stack = NEW_CREF(rb_cObject); - iseq->cref_stack->nd_omod = Qnil; + iseq->cref_stack->nd_refinements = Qnil; iseq->cref_stack->nd_visi = NOEX_PRIVATE; if (th->top_wrapper) { NODE *cref = NEW_CREF(th->top_wrapper); - cref->nd_omod = Qnil; + cref->nd_refinements = Qnil; cref->nd_visi = NOEX_PRIVATE; cref->nd_next = iseq->cref_stack; iseq->cref_stack = cref; @@ -214,7 +214,7 @@ set_relation(rb_iseq_t *iseq, const VALUE parent) } else if (type == ISEQ_TYPE_METHOD || type == ISEQ_TYPE_CLASS) { iseq->cref_stack = NEW_CREF(0); /* place holder */ - iseq->cref_stack->nd_omod = Qnil; + iseq->cref_stack->nd_refinements = Qnil; } else if (RTEST(parent)) { rb_iseq_t *piseq; @@ -1657,7 +1657,7 @@ rb_iseq_clone(VALUE iseqval, VALUE newcbase) } if (newcbase) { iseq1->cref_stack = NEW_CREF(newcbase); - iseq1->cref_stack->nd_omod = iseq0->cref_stack->nd_omod; + iseq1->cref_stack->nd_refinements = iseq0->cref_stack->nd_refinements; iseq1->cref_stack->nd_visi = iseq0->cref_stack->nd_visi; if (iseq0->cref_stack->nd_next) { iseq1->cref_stack->nd_next = iseq0->cref_stack->nd_next; |