[ruby-cvs:62115] naruse:r54952 (trunk): * configure.in: check function attirbute const and pure,

naruse at ruby-lang.org naruse at ruby-lang.org
Mon May 9 02:44:51 JST 2016


naruse	2016-05-09 02:44:51 +0900 (Mon, 09 May 2016)

  New Revision: 54952

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

  Log:
    * configure.in: check function attirbute const and pure,
      and define CONSTFUNC and PUREFUNC if available.
      Note that I don't add those options as default because
      it still shows many false-positive (it seems not to consider
      longjmp).
    
    * vm_eval.c (stack_check): get rb_thread_t* as an argument
      to avoid duplicate call of GET_THREAD().

  Modified files:
    trunk/ChangeLog
    trunk/configure.in
    trunk/eval_intern.h
    trunk/gc.c
    trunk/include/ruby/encoding.h
    trunk/include/ruby/intern.h
    trunk/include/ruby/io.h
    trunk/include/ruby/oniguruma.h
    trunk/include/ruby/ruby.h
    trunk/include/ruby/st.h
    trunk/insns.def
    trunk/internal.h
    trunk/process.c
    trunk/regenc.h
    trunk/st.c
    trunk/string.c
    trunk/vm.c
    trunk/vm_eval.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list