mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 12:04:01 +02:00
MicroJIT: Don't compile trace instructions
This commit is contained in:
parent
ba45aff16b
commit
93f6ac39f2
3 changed files with 22 additions and 1 deletions
|
@ -74,7 +74,7 @@ opcode_at_pc(const rb_iseq_t *iseq, const VALUE *pc)
|
|||
{
|
||||
const VALUE at_pc = *pc;
|
||||
if (FL_TEST_RAW((VALUE)iseq, ISEQ_TRANSLATED)) {
|
||||
return rb_vm_insn_addr2insn((const void *)at_pc);
|
||||
return rb_vm_insn_addr2opcode((const void *)at_pc);
|
||||
}
|
||||
else {
|
||||
return (int)at_pc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue