diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-29 01:32:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-29 01:32:37 +0000 |
commit | c5a5563dbe48497fd00a14de82ec359204b06365 (patch) | |
tree | b97472c577d13f89869164f99026d5798ab0110e /iseq.h | |
parent | 63ae1e3cb5d302e5229143c00152328166d26780 (diff) | |
download | ruby-c5a5563dbe48497fd00a14de82ec359204b06365.tar.gz |
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 'iseq.h')
-rw-r--r-- | iseq.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,9 +93,9 @@ struct iseq_compile_data { VALUE ensure_node; VALUE for_iseq; struct iseq_compile_data_ensure_node_stack *ensure_node_stack; - int loopval_popped; /* used by NODE_BREAK */ struct iseq_compile_data_storage *storage_head; struct iseq_compile_data_storage *storage_current; + int loopval_popped; /* used by NODE_BREAK */ int last_line; int label_no; int node_level; |