[ruby-cvs:64973] shyouhei:r57807 (trunk): re-introduce __builtin_add_overflow

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Wed Mar 8 13:50:22 JST 2017


shyouhei	2017-03-08 13:50:22 +0900 (Wed, 08 Mar 2017)

  New Revision: 57807

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

  Log:
    re-introduce __builtin_add_overflow
    
    r57789 (74cdd89) was gradually "improve"d by naruse through r57793 to
    r57806, resulted in reverting the efect of r57789 while retaining its
    complexity.  I think the current situation is slightly worse than
    before (same output complicated source code).
    
    Here I introduce __builtin_add_overflow again, which (I think) is what
    naruse wanted to do in r57793.

  Modified files:
    trunk/include/ruby/ruby.h
    trunk/internal.h
    trunk/numeric.c


More information about the ruby-cvs mailing list