summaryrefslogtreecommitdiff
path: root/yjit/src/codegen.rs
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-12-25 13:48:26 +0900
committerHiroshi SHIBATA <[email protected]>2023-12-25 13:50:23 +0900
commit863ded45a18773742cf3adab0f6deb4ba6b47c6e (patch)
treed7199b790db14ef755c689747351943921ca32a6 /yjit/src/codegen.rs
parent2cdbeb29e6e06d3492e2d4a388558ab883b07150 (diff)
Typofix under bootstraptest, spec and yjit directories
Diffstat (limited to 'yjit/src/codegen.rs')
-rw-r--r--yjit/src/codegen.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index a50bed3bc3..6d85ca4266 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -4395,7 +4395,7 @@ fn jit_rb_kernel_is_a(
let sample_rhs = jit.peek_at_stack(&asm.ctx, 0);
let sample_lhs = jit.peek_at_stack(&asm.ctx, 1);
- // We are not allowing module here because the module hierachy can change at runtime.
+ // We are not allowing module here because the module hierarchy can change at runtime.
if !unsafe { RB_TYPE_P(sample_rhs, RUBY_T_CLASS) } {
return false;
}
@@ -6127,7 +6127,7 @@ fn gen_send_iseq(
}
if iseq_has_rest && opt_num > 0 {
- // If we have a rest and option arugments
+ // If we have a rest and option arguments
// we are going to set the pc_offset for where
// to jump in the called method.
// If the number of args change, that would need to
@@ -6163,7 +6163,7 @@ fn gen_send_iseq(
assert_eq!(opts_missing + opts_filled, opt_num);
assert!(opts_filled >= 0);
- // ISeq with optional paramters start at different
+ // ISeq with optional parameters start at different
// locations depending on the number of optionals given.
if opt_num > 0 {
assert!(opts_filled >= 0);