summaryrefslogtreecommitdiff
path: root/vm_args.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-29 01:32:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-29 01:32:37 +0000
commitc5a5563dbe48497fd00a14de82ec359204b06365 (patch)
treeb97472c577d13f89869164f99026d5798ab0110e /vm_args.c
parent63ae1e3cb5d302e5229143c00152328166d26780 (diff)
repack structs
Repack rb_thread_struct, rb_execution_context_struct, args_info and iseq_compile_data to save 1 word per struct. re_pattern_buffer remains unpacked due to the possible binary compatibility. [Fix GH-1907] Based on the patch From: Lourens Naudé <lourens@bearmetal.eu> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_args.c')
-rw-r--r--vm_args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_args.c b/vm_args.c
index 0c7db1cb9d..ef5193b77f 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -19,10 +19,10 @@ struct args_info {
/* basic args info */
VALUE *argv;
int argc;
- const struct rb_call_info_kw_arg *kw_arg;
/* additional args info */
int rest_index;
+ const struct rb_call_info_kw_arg *kw_arg;
VALUE *kw_argv;
VALUE rest;
};