From b5cd6ba21412b24c5dc44971fe96812e2548cc7e Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 3 Jun 2015 02:48:43 +0000 Subject: * 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 --- method.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'method.h') 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 */ -- cgit v1.2.3