diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2025-02-06 14:20:45 -0500 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:52:56 +0900 |
commit | 5af1c2ed62a681bd4e710e81f62e1a1e27582f8a (patch) | |
tree | 385f6bc739dd2ce15c3c3fd7650f3f2d1f30fe1c | |
parent | b5deaf85dd47aa84358bb35d58bca1c14f7850bd (diff) |
Add YARVInsn_nop
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
-rw-r--r-- | zjit/src/ir.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zjit/src/ir.rs b/zjit/src/ir.rs index 39835b4b3b..620dc6bda9 100644 --- a/zjit/src/ir.rs +++ b/zjit/src/ir.rs @@ -190,6 +190,7 @@ pub fn iseq_to_ssa(iseq: *const rb_iseq_t) { .unwrap(); match opcode { + YARVINSN_nop => {}, YARVINSN_putnil => { state.push(Opnd::Const(Qnil)); }, YARVINSN_putobject => { state.push(Opnd::Const(get_arg(pc, 0))); }, YARVINSN_putstring => { |