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
This commit is contained in:
parent
29329d55ec
commit
f2f81900ce
@ -18,7 +18,7 @@
|
|||||||
#define GLOBAL_METHOD_CACHE_KEY(c,m) ((((c)>>3)^(m))&GLOBAL_METHOD_CACHE_MASK)
|
#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))
|
#define GLOBAL_METHOD_CACHE(c,m) (global_method_cache + GLOBAL_METHOD_CACHE_KEY(c,m))
|
||||||
#else
|
#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
|
#endif
|
||||||
#include "method.h"
|
#include "method.h"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user