aboutsummaryrefslogtreecommitdiffstats
path: root/vm_args.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-23 01:49:57 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-23 01:49:57 +0000
commit83f0e9d6f119128f88621665e3cb3dc51590e553 (patch)
treea4359dbfe0afc5ea3e0d1cd5a79cf9ee8298c86c /vm_args.c
parent919b1aa5e9143ab32242d0e67d7a6d23d87c78a5 (diff)
downloadruby-83f0e9d6f119128f88621665e3cb3dc51590e553.tar.gz
trivial packing of rb_execarg, load_file_arg, args_info
* internal.h (struct rb_execarg): 160 => 144 bytes on x86-64 * ruby.c (struct load_file_arg): 48 => 40 bytes on x86-64 * vm_args.c (struct args_info): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_args.c')
-rw-r--r--vm_args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_args.c b/vm_args.c
index e4d7fedf0f..207d3ffcde 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -11,12 +11,12 @@
struct args_info {
/* basic args info */
rb_call_info_t *ci;
- int argc;
VALUE *argv;
+ int argc;
/* additional args info */
- VALUE *kw_argv;
int rest_index;
+ VALUE *kw_argv;
VALUE rest;
};