Commit b82975b
committed
ZJIT: Decode bare opcodes in locals_written_in_block
locals_written_in_block scans child block ISEQs for setlocal/send
instructions. After profiling, ZJIT rewrites send to zjit_send, so
rb_iseq_opcode_at_pc returns the specialized opcode which doesn't
match YARVINSN_send. Use rb_vm_insn_decode to strip zjit/trace
specializations and always match on bare opcodes.1 parent 9309f14 commit b82975b
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6267 | 6267 | | |
6268 | 6268 | | |
6269 | 6269 | | |
6270 | | - | |
| 6270 | + | |
| 6271 | + | |
6271 | 6272 | | |
6272 | 6273 | | |
6273 | 6274 | | |
| |||
0 commit comments