[前][次][番号順一覧][スレッド一覧]

ruby-changes:54387

From: shyouhei <ko1@a...>
Date: Fri, 28 Dec 2018 12:42:16 +0900 (JST)
Subject: [ruby-changes:54387] shyouhei:r66601 (trunk): vm_insnhelper.c: USE_FLONUM is always defined

shyouhei	2018-12-28 12:42:11 +0900 (Fri, 28 Dec 2018)

  New Revision: 66601

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

  Log:
    vm_insnhelper.c: USE_FLONUM is always defined
    
    This changeset should fix the 32bit failures.
    See also: https://travis-ci.org/ruby/ruby/jobs/472855470

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 66600)
+++ vm_insnhelper.c	(revision 66601)
@@ -1406,7 +1406,7 @@ FIXNUM_2_P(VALUE a, VALUE b) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1406
 static bool
 FLONUM_2_P(VALUE a, VALUE b)
 {
-#ifdef USE_FLONUM
+#if USE_FLONUM
     /* FLONUM_P(a) && FLONUM_P(b)
      * == ((a & 3) == 2) && ((b & 3) == 2)
      * == ! ((a ^ 2) | (b ^ 2) & 3)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]