[Bug #21103] Fix local variable index calculation with forwarding
commitdb02a6b3ab4cabbdf492c26dcb1929b4ef0370a1
authorNobuyoshi Nakada <[email protected]>
Sat, 1 Feb 2025 13:03:47 +0000 (1 22:03 +0900)
committerNobuyoshi Nakada <[email protected]>
Sat, 1 Feb 2025 13:03:47 +0000 (1 22:03 +0900)
treee75552c4577104a3a56202b1d97a521b20906dfc
parent71f402c5d50919b0329d04704da8aa8982ab0585
[Bug #21103] Fix local variable index calculation with forwarding

Forwarding argument is optimized not to packed when no other arguments
and an internal object refers values before it.  This size is decided
at called time, calculate the local variable index from the fixed end
point.
proc.c
test/ruby/test_method.rb