[ruby-cvs:73328] ko1:r66228 (trunk): Introduce "COLDFUNC" function attribute.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Dec 6 02:23:33 JST 2018


ko1	2018-12-06 02:23:32 +0900 (Thu, 06 Dec 2018)

  New Revision: 66228

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

  Log:
    Introduce "COLDFUNC" function attribute.
    
    * include/ruby/defines.h: introduce "COLDFUNC" function attribute
      on several compilers for called unlikely functions.
      Apply to rb_memerror, rb_warn and rb_bug.
    
      A patch form  methodmissing <lourens at bearmetal.eu>.

  Modified files:
    trunk/include/ruby/defines.h
    trunk/include/ruby/intern.h
    trunk/include/ruby/ruby.h


More information about the ruby-cvs mailing list