aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-31 05:45:10 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-31 05:45:10 +0000
commite1fd7fa03e254e5bcb99f14d2ef56bf144afb2fc (patch)
tree356d620785e044c8a772e0fd0b66296a8a6aa51f /vm_insnhelper.h
parent7a4feec795ac8622edd099ed8b82b6230dc031be (diff)
downloadruby-e1fd7fa03e254e5bcb99f14d2ef56bf144afb2fc.tar.gz
* vm_insnhelper.h (CALL_SIMPLE_METHOD): change name of 'recv' argument
so that other variable names may be used when calling this macro git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index de5319cedd..a25bd1609f 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -251,9 +251,9 @@ enum vm_regan_acttype {
#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)