diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-17 00:54:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-17 00:54:10 +0000 |
commit | f2f81900ce298b54b88625bbd64ae9f19f775c95 (patch) | |
tree | e66f2de8b064f1fba171eee0f903fccfed866d62 | |
parent | 29329d55ec0463be1c30506714f2b0020d89ecab (diff) |
vm_method.c: single expression
* vm_method.c (GLOBAL_METHOD_CACHE): make a single expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | vm_method.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_method.c b/vm_method.c index 60b7dc0e8f..17211a5634 100644 --- a/vm_method.c +++ b/vm_method.c @@ -18,7 +18,7 @@ #define GLOBAL_METHOD_CACHE_KEY(c,m) ((((c)>>3)^(m))&GLOBAL_METHOD_CACHE_MASK) #define GLOBAL_METHOD_CACHE(c,m) (global_method_cache + GLOBAL_METHOD_CACHE_KEY(c,m)) #else -#define GLOBAL_METHOD_CACHE(c,m) 0,rb_bug("global method cache disabled improperly") +#define GLOBAL_METHOD_CACHE(c,m) (rb_bug("global method cache disabled improperly"), NULL) #endif #include "method.h" |