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

ruby-changes:30662

From: charliesome <ko1@a...>
Date: Sat, 31 Aug 2013 14:45:21 +0900 (JST)
Subject: [ruby-changes:30662] charliesome:r42741 (trunk): * vm_insnhelper.h (CALL_SIMPLE_METHOD): change name of 'recv' argument

charliesome	2013-08-31 14:45:10 +0900 (Sat, 31 Aug 2013)

  New Revision: 42741

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

  Log:
    * vm_insnhelper.h (CALL_SIMPLE_METHOD): change name of 'recv' argument
      so that other variable names may be used when calling this macro

  Modified files:
    trunk/vm_insnhelper.h
Index: vm_insnhelper.h
===================================================================
--- vm_insnhelper.h	(revision 42740)
+++ vm_insnhelper.h	(revision 42741)
@@ -251,9 +251,9 @@ enum vm_regan_acttype { https://github.com/ruby/ruby/blob/trunk/vm_insnhelper.h#L251
 #define USE_IC_FOR_SPECIALIZED_METHOD 1
 #endif
 
-#define CALL_SIMPLE_METHOD(recv) do { \
+#define CALL_SIMPLE_METHOD(recv_) do { \
     ci->blockptr = 0; ci->argc = ci->orig_argc; \
-    vm_search_method(ci, ci->recv = (recv)); \
+    vm_search_method(ci, ci->recv = (recv_)); \
     CALL_METHOD(ci); \
 } while (0)
 

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

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