diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-13 11:49:54 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-13 11:49:54 +0000 |
commit | def8c8c347fbeaf5e14c223be33b3651a0941b7c (patch) | |
tree | 52e3bb13bbba4c47dedc1cef494a70a434a13b93 /vm_insnhelper.c | |
parent | 96874ec46e5190bcaf929920e28149499467046b (diff) | |
download | ruby-def8c8c347fbeaf5e14c223be33b3651a0941b7c.tar.gz |
* vm_insnhelper.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index 46449df7b1..d537661204 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -132,15 +132,15 @@ argument_error(const rb_iseq_t *iseq, int miss_argc, int correct_argc) } #define VM_CALLEE_SETUP_ARG(ret, th, iseq, orig_argc, orig_argv, block) \ - if (LIKELY(iseq->arg_simple & 0x01)) { \ + if (LIKELY((iseq)->arg_simple & 0x01)) { \ /* simple check */ \ - if (orig_argc != iseq->argc) { \ - argument_error(iseq, orig_argc, iseq->argc); \ + if ((orig_argc) != (iseq)->argc) { \ + argument_error((iseq), (orig_argc), (iseq)->argc); \ } \ - ret = 0; \ + (ret) = 0; \ } \ else { \ - ret = vm_callee_setup_arg_complex(th, iseq, orig_argc, orig_argv, block); \ + (ret) = vm_callee_setup_arg_complex((th), (iseq), (orig_argc), (orig_argv), (block)); \ } static inline int |