aboutsummaryrefslogtreecommitdiffstats
path: root/method.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-03 02:48:43 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-03 02:48:43 +0000
commitcc71f75b60fdf7908fb51bbb9a65aadb0c1e3b75 (patch)
treec4136b11a396f36f04889619c28142f85efff701 /method.h
parenta4a966919d8d21838216355be7f2b0a5ad9958d3 (diff)
downloadruby-cc71f75b60fdf7908fb51bbb9a65aadb0c1e3b75.tar.gz
* method.h: change fileds order to gather frequent acces fields.
* vm_insnhelper.c (vm_call_method): add LIKELY(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'method.h')
-rw-r--r--method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/method.h b/method.h
index 2beaa08722..fbd8ce9953 100644
--- a/method.h
+++ b/method.h
@@ -80,8 +80,8 @@ typedef struct rb_method_alias_struct {
typedef struct rb_method_definition_struct {
struct {
rb_method_visibility_t visi: 3;
- unsigned int basic: 1;
unsigned int safe: 3;
+ unsigned int basic: 1;
} flags;
rb_method_type_t type; /* method type */