mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Load Param off of cfp->ep (https://github.com/Shopify/zjit/pull/31)
* 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:
parent
62adbdf247
commit
48fa16f644
Notes:
git
2025-04-18 13:48:23 +00:00
5 changed files with 118 additions and 64 deletions
|
@ -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)]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue