summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2022-06-22 16:27:58 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2022-06-23 14:01:46 -0700
commit1ccdb1a25103ee8ea23ff92ebc3d03990f098f17 (patch)
tree8429f368be7baea2c3466904d24c7e952bc87655
parente23540e5666664e23f2adecdc2cc591f3ff6fe2f (diff)
Update vm_core.h
Co-authored-by: Tomás Coêlho <36938811+tomascco@users.noreply.github.com>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6053
-rw-r--r--compile.c2
-rw-r--r--vm_core.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index 06c5557672..2b007f92fd 100644
--- a/compile.c
+++ b/compile.c
@@ -2333,7 +2333,7 @@ iseq_set_sequence(rb_iseq_t *iseq, LINK_ANCHOR *const anchor)
// Calculate the bitmask buffer size.
// Round the generated_iseq size up to the nearest multiple
- // of the number if bits in an unsigned long.
+ // of the number of bits in an unsigned long.
// Allocate enough room for the bitmask list
iseq_bits_t * mark_offset_bits = ZALLOC_N(iseq_bits_t, ISEQ_MBITS_BUFLEN(code_index));
diff --git a/vm_core.h b/vm_core.h
index 2ae5318607..5a6643674a 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -460,7 +460,7 @@ struct rb_iseq_constant_body {
} variable;
unsigned int local_table_size;
- unsigned int ic_size; // Number if IC caches
+ unsigned int ic_size; // Number of IC caches
unsigned int ise_size; // Number of ISE caches
unsigned int ivc_size; // Number of IVC and ICVARC caches
unsigned int ci_size;