[ruby-cvs:56584] nobu:r49434 (trunk): math.c: deoptimize

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jan 29 10:42:12 JST 2015


nobu	2015-01-29 10:42:12 +0900 (Thu, 29 Jan 2015)

  New Revision: 49434

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

  Log:
    math.c: deoptimize
    
    * math.c (Get_Double): restrict direct casting only when
      Fixnum#to_f is not redefined, and convert with rb_to_float().
      [Feature #10785]

  Modified files:
    trunk/math.c


More information about the ruby-cvs mailing list