diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 16:23:17 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-07-14 16:23:17 +0000 |
commit | a82ce7c55626086ad264a0d26de63b7603956de9 (patch) | |
tree | ff3adfddbfac7be95ed9e90d0cc029d13f4eb175 /ChangeLog | |
parent | 50ae75064639807c8620f3afebc7cc32274b1f4c (diff) | |
download | ruby-a82ce7c55626086ad264a0d26de63b7603956de9.tar.gz |
* vm.c: refactoring Proc/Env related code.
* vm_core.h: remove blockprocval field from rb_proc_t and rb_binding_t.
Instead of this field, mark given block in Proc at rb_env_t::env.
* vm.c (vm_make_env_each): make an Env object with this layout.
And also simplify parameters.
* proc.c: catch up this fix.
* vm_core.h: remove rb_env_t::local_size because it is not used.
* vm_dump.c (rb_vmdebug_env_dump_raw): catch up this fix.
* vm_core.h (rb_vm_make_env_object): remove rb_vm_make_env_object()
because it is only refered from vm.c.
* vm_eval.c (eval_string_with_cref): catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +Wed Jul 15 01:09:09 2015 Koichi Sasada <ko1@atdot.net> + + * vm.c: refactoring Proc/Env related code. + + * vm_core.h: remove blockprocval field from rb_proc_t and rb_binding_t. + Instead of this field, mark given block in Proc at rb_env_t::env. + + * vm.c (vm_make_env_each): make an Env object with this layout. + And also simplify parameters. + + * proc.c: catch up this fix. + + * vm_core.h: remove rb_env_t::local_size because it is not used. + + * vm_dump.c (rb_vmdebug_env_dump_raw): catch up this fix. + + * vm_core.h (rb_vm_make_env_object): remove rb_vm_make_env_object() + because it is only refered from vm.c. + + * vm_eval.c (eval_string_with_cref): catch up this fix. + Wed Jul 15 00:03:36 2015 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * gc.c (__has_feature): move into internal.h. |