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;