Fix inaccurate comment

This commit is contained in:
Maxime Chevalier-Boisvert 2023-04-20 16:31:34 -04:00
parent 64a25977ed
commit 277098bde2

View File

@ -1465,7 +1465,9 @@ fn guard_object_is_not_ruby2_keyword_hash(
asm.write_label(not_ruby2_keyword); 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 isnt already one using the #to_ary method, and then pushes
/// the values from the array back onto the stack.
fn gen_expandarray( fn gen_expandarray(
jit: &mut JITState, jit: &mut JITState,
asm: &mut Assembler, asm: &mut Assembler,