mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
Generate multiple copies of native code for pop
Insert generated addresses into st_table for mapping native code addresses back to info about VM instructions. Export `encoded_insn_data` to do this. Also some style fixes.
This commit is contained in:
parent
6a12fb2067
commit
4929ba0a5c
3 changed files with 28 additions and 15 deletions
|
@ -875,7 +875,7 @@ rb_iseq_translate_threaded_code(rb_iseq_t *iseq)
|
|||
if (native_code_ptr)
|
||||
encoded[i] = (VALUE)native_code_ptr;
|
||||
else
|
||||
encoded[i] = (VALUE)table[insn];
|
||||
encoded[i] = (VALUE)table[insn];
|
||||
|
||||
i += len;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue