mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix issue with expandarray, add missing jl, enable tests (https://github.com/Shopify/ruby/pull/409)
This commit is contained in:
parent
c38e911147
commit
1cf9f56c55
4 changed files with 14 additions and 1 deletions
|
@ -1445,7 +1445,7 @@ fn gen_expandarray(
|
|||
// Only handle the case where the number of values in the array is greater
|
||||
// than or equal to the number of values requested.
|
||||
asm.cmp(array_len_opnd, num.into());
|
||||
asm.jo(counted_exit!(ocb, side_exit, expandarray_rhs_too_small).into());
|
||||
asm.jl(counted_exit!(ocb, side_exit, expandarray_rhs_too_small).into());
|
||||
|
||||
// Load the address of the embedded array into REG1.
|
||||
// (struct RArray *)(obj)->as.ary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue