Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jun 18, 2011

  1. akr

    * method.h, internal.h iseq.h: declare internal functions.

    * compile.c, eval.c, iseq.c, object.c, parse.y, proc.c, process.c,
      thread.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c: don't
      declare internal functions.
    
      Note that rb_method_entry_eq() is defined in vm_method.c but
      there was a declaration in proc.c with different const-ness.
      Now it is declared in method.h with same const-ness to the
      definition.
    
    * object.c (rb_mod_module_exec): don't declare functions declared in
      include/ruby/intern.h.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 18, 2011
  2. akr

    * internal.h: declare more internal functions.

    * iseq.h (rb_method_get_iseq): declared.
    
    * compile.c, eval.c, eval_error.c, iseq.c, parse.y, proc.c, range.c,
      ruby.c, time.c, util.c, vm.c: don't declare internal functions.
    
    * eval.c, parse.y, thread_pthread.c: non-existing function declarations
      removed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 18, 2011

Jun 17, 2011

  1. akr

    * internal.h: declare internal functions here.

    * node.h: declare NODE dependent internal functions here.
    
    * iseq.h: declare rb_iseq_t dependent internal functions here.
    
    * vm_core.h: declare rb_thread_t dependent internal functions here.
    
    * bignum.c, class.c, compile.c, complex.c, cont.c, dir.c, encoding.c,
      enumerator.c, error.c, eval.c, file.c, gc.c, hash.c, inits.c, io.c,
      iseq.c, load.c, marshal.c, math.c, numeric.c, object.c, parse.y,
      proc.c, process.c, range.c, rational.c, re.c, ruby.c, string.c,
      thread.c, time.c, transcode.c, variable.c, vm.c,
      tool/compile_prelude.rb: don't declare internal functions declared
      in above headers.  include above headers if required.
    
      Note that rb_thread_mark() was declared as
      void rb_thread_mark(rb_thread_t *th) in cont.c but defined as
      void rb_thread_mark(void *ptr) in vm.c.  Now it is declared as
      the later in internal.h.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored June 17, 2011

Dec 12, 2010

  1. Nobuyoshi Nakada

    * compile.c (iseq_compile_each): fix for __goto__ and __label__

      where were totally broken.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored December 12, 2010

Dec 10, 2010

  1. Kazuhiro NISHIYAMA

    remove a comma at end of enumerator list.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored December 10, 2010

Oct 31, 2010

  1. Koichi Sasada

    * vm_core.h: some refactoring.

      - move decl. of rb_compile_option_struct to iseq.h.
      - define enum iseq_type.
      - define enum vm_special_object_type.
    * compile.c: some refactoring.
      - apply above changes.
      - (struct iseq_link_element): change value of type.
      - remove unused decl.
      - fix comment.
      - rename iseq_build_body and iseq_build_exception to
      iseq_build_from_ary_body and iseq_build_from_ary_exception.
    * iseq.h: define enum catch_type and enum defined_type.
    * insns.def: apply above changes.
    * iseq.c: define ISEQ_MAJOR_VERSION and ISEQ_MINOR_VERSION.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored October 31, 2010

Jul 21, 2010

  1. Nobuyoshi Nakada

    * configure.in (XCFLAGS): use -fvisibility=hidden if possible.

    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored July 21, 2010

Oct 08, 2009

  1. Yusuke Endoh

    * compile.c (ADD_TRACE): fire coverage event in ensure clause.

      [ruby-dev:39303]
    
    * iseq.h, iseq.c: ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored October 08, 2009

Sep 21, 2009

  1. Nobuyoshi Nakada

    * compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,

      thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
      vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
      tool/instruction.rb: fixed types.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored September 21, 2009

Jan 19, 2009

  1. Koichi Sasada

    * iseq.c:

      rename ruby_iseq_disasm_insn() -> rb_iseq_disasm_insn().
      rename ruby_iseq_disasm() -> rb_iseq_disasm().
    * compile.c:
      rename ruby_iseq_compile() -> rb_iseq_compile_node().
      rename ruby_iseq_translate_threaded_code() ->
      rb_iseq_translate_threaded_code().
      rename ruby_insns_name_array() -> rb_insns_name_array().
      rename ruby_iseq_build_from_ary() -> rb_iseq_build_from_ary().
    * iseq.c, compile.c: remove ruby_insn_make_insn_table() and make
      static function insn_make_insn_table().
    * iseq.h, ruby.c, vm.c, vm_core.h, vm_eval.c, vm_dump.c,
      blockinlining.c: ditto.
      Rename strange "ruby_" prefix to "rb_" prefix.
      This changes may affect only core because renamed functions
      require a pointer of rb_iseq_t which is not exposed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored January 19, 2009

Jan 18, 2009

  1. Nobuyoshi Nakada

    * iseq.c (rb_iseq_load): renamed from ruby_iseq_load, since it is

      for C extensions or the ruby core.  [ruby-core:21407]
    
    Index: compile.c
    ===================================================================
    --- compile.c	(revision 21649)
    +++ compile.c	(working copy)
    @@ -5078,5 +5078,5 @@ iseq_build_exception(rb_iseq_t *iseq, st
     	}
     	else {
    -	    eiseqval = ruby_iseq_load(ptr[1], iseq->self, Qnil);
    +	    eiseqval = rb_iseq_load(ptr[1], iseq->self, Qnil);
     	}
     
    @@ -5162,5 +5162,5 @@ iseq_build_body(rb_iseq_t *iseq, LINK_AN
     			    if (op != Qnil) {
     				if (TYPE(op) == T_ARRAY) {
    -				    argv[j] = ruby_iseq_load(op, iseq->self, Qnil);
    +				    argv[j] = rb_iseq_load(op, iseq->self, Qnil);
     				}
     				else if (CLASS_OF(op) == rb_cISeq) {
    Index: iseq.c
    ===================================================================
    --- iseq.c	(revision 21649)
    +++ iseq.c	(working copy)
    @@ -448,5 +448,5 @@ iseq_s_load(int argc, VALUE *argv, VALUE
     
     VALUE
    -ruby_iseq_load(VALUE data, VALUE parent, VALUE opt)
    +rb_iseq_load(VALUE data, VALUE parent, VALUE opt)
     {
         return iseq_load(rb_cISeq, data, parent, opt);
    Index: iseq.h
    ===================================================================
    --- iseq.h	(revision 21649)
    +++ iseq.h	(working copy)
    @@ -21,5 +21,5 @@ VALUE ruby_iseq_build_from_ary(rb_iseq_t
     
     /* iseq.c */
    -VALUE ruby_iseq_load(VALUE data, VALUE parent, VALUE opt);
    +VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt);
     struct st_table *ruby_insn_make_insn_table(void);
     
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored January 18, 2009

Dec 27, 2008

  1. Koichi Sasada

    * iseq.h, iseq.c (rb_iseq_new_main): add a type ISEQ_TYPE_MAIN.

      [ruby-dev:37619]
    * compile.c (rb_dvar_defined, ruby_iseq_compile): ditto.
    * iseq.c (iseq_data_to_ary, iseq_load): ditto.
    * compile.c (iseq_compile_each): fix to check ip->compile_data.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored December 27, 2008

Dec 05, 2008

  1. Nobuyoshi Nakada

    * compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code),

      (ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with
      ruby_.
    
    * iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored December 05, 2008

Sep 23, 2008

  1. Koichi Sasada

    * include/ruby/node.h, vm_core.h: move definition of

      RUBY_VM_METHOD_NODE to node.h.
    * class.c, common.mk: remove useless inclusion.
    * compile.h, iseq.h, vm_core.h: rename compile.h to iseq.h.
      move some definitions from vm_core.h to iseq.h.
    * compile.c, iseq.c, vm.c: ditto.
    * eval.c, compile.c: move some functions for parser
      from eval.c to compile.c.
    * eval_intern.h, vm_core.h: move va_init_list() macro to
      vm_core.h.
    * iseq.c (rb_iseq_new_top, rb_iseq_first_lineno): added.
    * load.c, ruby.c: use rb_iseq_new_top() instead of
      rb_iseq_new() with ISEQ_TYPE_TOP constant directly.
    * proc.c: use rb_iseq_first_lineno() instead of accessing
      iseq structure.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    authored September 23, 2008
Something went wrong with that request. Please try again.