diff options
| author | Max Bernstein <max.bernstein@shopify.com> | 2025-02-07 09:48:40 -0500 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-18 21:52:57 +0900 |
| commit | d0ee9bcd70db5fd5a59ce9ea2cd284990ab5f1fa (patch) | |
| tree | 3861f9bbc88992dbaf0ec8daf629110f5cb25141 | |
| parent | 9fa2a9aba8e6b6919c1fa403a45dd19797a522e3 (diff) | |
Ignore other insns
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
| -rw-r--r-- | zjit/src/ir.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zjit/src/ir.rs b/zjit/src/ir.rs index a31e3f42a5..b891a7713f 100644 --- a/zjit/src/ir.rs +++ b/zjit/src/ir.rs @@ -289,7 +289,7 @@ fn compute_jump_targets(iseq: *const rb_iseq_t) -> Vec<u32> { jump_targets.insert(insn_idx); } } - _ => eprintln!("zjit: compute_jump_targets: unknown opcode `{}'", insn_name(opcode as usize)), + _ => {} } } let mut result = jump_targets.into_iter().collect::<Vec<_>>(); @@ -390,6 +390,7 @@ pub fn iseq_to_ssa(iseq: *const rb_iseq_t) -> Function { val: Opnd::Insn(test_id), target: BranchEdge { target: insn_idx_to_block[&insn_idx_at_offset(insn_idx, offset)], + // TODO(max): Merge locals/stack for bb arguments args: vec![], } }); |
