* Load Param off of cfp->ep

* Test with --zjit-call-threshold=1 as well

* Fix get_opnd's debug output

* Return Mem operand from gen_param

* Test both first and second calls

* Spell out the namespace for Opnd returns

* Update a comment about gen_param

* Explain why we take a lock

* Fix a typo
This commit is contained in:
Takashi Kokubun 2025-03-06 10:25:05 -08:00
parent 62adbdf247
commit 48fa16f644
Notes: git 2025-04-18 13:48:23 +00:00
5 changed files with 118 additions and 64 deletions

View file

@ -15,3 +15,8 @@ assert_equal '3', %q{
def test = 1 + 2
test; test
}
assert_equal '[6, 3]', %q{
def test(a, b) = a + b
[test(2, 4), test(1, 2)]
}