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

ruby-changes:46204

From: nobu <ko1@a...>
Date: Tue, 11 Apr 2017 21:28:55 +0900 (JST)
Subject: [ruby-changes:46204] nobu:r58319 (trunk): Parenthesized CHECK_CFP_CONSISTENCY [ci skip]

nobu	2017-04-11 21:28:51 +0900 (Tue, 11 Apr 2017)

  New Revision: 58319

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

  Log:
    Parenthesized CHECK_CFP_CONSISTENCY [ci skip]

  Modified files:
    trunk/vm_insnhelper.c
Index: vm_insnhelper.c
===================================================================
--- vm_insnhelper.c	(revision 58318)
+++ vm_insnhelper.c	(revision 58319)
@@ -1716,8 +1716,8 @@ vm_profile_show_result(void) https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.c#L1716
 #endif
 
 #define CHECK_CFP_CONSISTENCY(func) \
-    LIKELY(reg_cfp == th->cfp + 1) ? (void) 0 : \
-    rb_bug(func ": cfp consistency error (%p, %p)", reg_cfp, th->cfp+1)
+    (LIKELY(reg_cfp == th->cfp + 1) ? (void) 0 : \
+     rb_bug(func ": cfp consistency error (%p, %p)", reg_cfp, th->cfp+1))
 
 static inline
 const rb_method_cfunc_t *

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

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