[ruby-cvs:62932] ko1:r55768 (trunk): * vm.c, internal.h: remove RubyVM::Env class and all of env objects

ko1 at ruby-lang.org ko1 at ruby-lang.org
Fri Jul 29 04:13:26 JST 2016


ko1	2016-07-29 04:13:26 +0900 (Fri, 29 Jul 2016)

  New Revision: 55768

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55768

  Log:
    * vm.c, internal.h: remove RubyVM::Env class and all of env objects
      are imemo objects (imemo_env).
    
    * NEWS: describe this change. I believe nobody touch these objects
      because there are no method defined.
    
    * vm_core.h: remove the following definitions.
      * rb_cEnv decl.
      * GetEnvPtr() because Env is no longer T_DATA object.
    
    * vm_core.h (rb_env_t): fix layout for imemo values.
    
    * vm_core.h (vm_assert_env): added.
    
    * vm_core.h (vm_env_new): added.

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/gc.c
    trunk/internal.h
    trunk/proc.c
    trunk/vm.c
    trunk/vm_core.h
    trunk/vm_dump.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list