diff options
| author | Max Bernstein <max.bernstein@shopify.com> | 2025-02-07 11:48:37 -0500 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-18 21:52:57 +0900 |
| commit | 2ae92c97f8f56394ec2f19d7747264ac1bdf5305 (patch) | |
| tree | fe40a8fc1af453f925f4d4377a3b4baa2d11f1dd | |
| parent | 251a7cfaf156122b42659485c77627a9a2cbc5b3 (diff) | |
Add opt_ltlt
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
| -rw-r--r-- | zjit/src/ir.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zjit/src/ir.rs b/zjit/src/ir.rs index 8d8f351259..cca9d32eef 100644 --- a/zjit/src/ir.rs +++ b/zjit/src/ir.rs @@ -445,6 +445,11 @@ pub fn iseq_to_ssa(iseq: *const rb_iseq_t) -> Function { let v1 = state.pop(); state.push(Opnd::Insn(fun.push_insn(block, Insn::Send { self_val: v1, call_info: CallInfo { name: "<".into() }, args: vec![v0] }))); } + YARVINSN_opt_ltlt => { + let v0 = state.pop(); + let v1 = state.pop(); + state.push(Opnd::Insn(fun.push_insn(block, Insn::Send { self_val: v1, call_info: CallInfo { name: "<<".into() }, args: vec![v0] }))); + } YARVINSN_opt_aset => { let set = state.pop(); let obj = state.pop(); |
