Skip to content

Commit

Permalink
Fix inaccurate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecb committed Apr 20, 2023
1 parent 64a2597 commit 277098b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yjit/src/codegen.rs
Expand Up @@ -1465,7 +1465,9 @@ fn guard_object_is_not_ruby2_keyword_hash(
asm.write_label(not_ruby2_keyword);
}

// push enough nils onto the stack to fill out an array
/// This instruction pops a single value off the stack, converts it to an
/// arrayif it isn’t already one using the #to_ary method, and then pushes
/// the values from the array back onto the stack.
fn gen_expandarray(
jit: &mut JITState,
asm: &mut Assembler,
Expand Down

0 comments on commit 277098b

Please sign in to comment.