ruby-changes:53063
From: k0kubun <ko1@a...>
Date: Sun, 21 Oct 2018 22:45:42 +0900 (JST)
Subject: [ruby-changes:53063] k0kubun:r65277 (trunk): vm_core.h: fix typo [ci skip]
k0kubun 2018-10-21 22:45:36 +0900 (Sun, 21 Oct 2018) New Revision: 65277 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65277 Log: vm_core.h: fix typo [ci skip] The comment didn't make sense. As it's allocated with `ZALLOC_N(struct rb_call_cache, body->ci_size + body->ci_kw_size)`, it's very likely to be forgotten to press shift key on US keyboard. Modified files: trunk/vm_core.h Index: vm_core.h =================================================================== --- vm_core.h (revision 65276) +++ vm_core.h (revision 65277) @@ -444,7 +444,7 @@ struct rb_iseq_constant_body { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L444 * So that: * struct rb_call_info_with_kwarg *cikw_entries = &body->ci_entries[ci_size]; */ - struct rb_call_cache *cc_entries; /* size is ci_size = ci_kw_size */ + struct rb_call_cache *cc_entries; /* size is ci_size + ci_kw_size */ struct { rb_snum_t flip_count; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/