mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update comment for ujit_compile_insn
This commit is contained in:
parent
c378c7a7cb
commit
9ce9f613b0
1 changed files with 4 additions and 3 deletions
|
@ -354,8 +354,9 @@ ujit_side_exit(codeblock_t* cb, ctx_t* ctx, VALUE* exit_pc)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Generate a chunk of machine code for one individual bytecode instruction
|
Compile a sequence of bytecode instructions starting at `insn_idx`.
|
||||||
Eventually, this will handle multiple instructions in a sequence
|
Return the index to the first instruction not compiled in the sequence
|
||||||
|
through `next_ujit_idx`. Return `NULL` in case compilation fails.
|
||||||
*/
|
*/
|
||||||
uint8_t *
|
uint8_t *
|
||||||
ujit_compile_insn(const rb_iseq_t *iseq, unsigned int insn_idx, unsigned int *next_ujit_idx)
|
ujit_compile_insn(const rb_iseq_t *iseq, unsigned int insn_idx, unsigned int *next_ujit_idx)
|
||||||
|
|
Loading…
Add table
Reference in a new issue