summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-21 13:45:36 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-21 13:45:36 +0000
commit27295e94f244d204ff61316a2b6f732c19d2127d (patch)
tree52a3ae780f2ac9e26e34731328d94c3462064bef /vm_core.h
parent480eccbb35fd3b121c297cac99200d781533a233 (diff)
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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index c311fd54fc..61279689e6 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -444,7 +444,7 @@ struct rb_iseq_constant_body {
* 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;