From 1ccdb1a25103ee8ea23ff92ebc3d03990f098f17 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 22 Jun 2022 16:27:58 -0700 Subject: Update vm_core.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomás Coêlho <36938811+tomascco@users.noreply.github.com> --- compile.c | 2 +- vm_core.h | 2 +- 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; -- cgit v1.2.3