[ruby-cvs:67622] ko1:r60441 (trunk): some functions accept `ec` instead of `th`.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Oct 26 17:41:35 JST 2017


ko1	2017-10-26 17:41:34 +0900 (Thu, 26 Oct 2017)

  New Revision: 60441

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

  Log:
    some functions accept `ec` instead of `th`.
    
    * vm.c (vm_make_env_object): accepts `ec`.
    
    * vm.c (rb_vm_get_ruby_level_next_cfp): ditto.
    
    * vm.c (rb_vm_make_proc): ditto.
    
    * vm.c (rb_vm_make_proc_lambda): ditto.
    
    * vm_core.h: some macros accept ec instead of th
      (and make them inline functions):
      * RUBY_VM_CONTROL_FRAME_STACK_OVERFLOW
      * RUBY_VM_END_CONTROL_FRAME
      * RUBY_VM_CONTROL_FRAME_STACK_OVERFLOW_P
    
    * eval.c (frame_func_id): constify for the first parameter.

  Modified files:
    trunk/compile.c
    trunk/error.c
    trunk/eval.c
    trunk/proc.c
    trunk/vm.c
    trunk/vm_backtrace.c
    trunk/vm_core.h
    trunk/vm_eval.c
    trunk/vm_insnhelper.c
    trunk/vm_method.c
    trunk/vm_trace.c


More information about the ruby-cvs mailing list