diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2021-01-15 17:10:52 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:27 -0400 |
commit | 02a97004751eae471e00b2b6c3ce86c9dd6ae259 (patch) | |
tree | 16795b4ba93362e393f94d27439fec514e2efc99 /ujit_iface.h | |
parent | 79331368b94b297a0653152cb568a9b998af7fee (diff) | |
download | ruby-02a97004751eae471e00b2b6c3ce86c9dd6ae259.tar.gz |
End current block after opt_send_without_block
Diffstat (limited to 'ujit_iface.h')
-rw-r--r-- | ujit_iface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ujit_iface.h b/ujit_iface.h index 0c6bf2456c..aa335dbf19 100644 --- a/ujit_iface.h +++ b/ujit_iface.h @@ -22,8 +22,12 @@ struct rb_callcache; void cb_write_pre_call_bytes(codeblock_t* cb); void cb_write_post_call_bytes(codeblock_t* cb); + void map_addr2insn(void *code_ptr, int insn); int opcode_at_pc(const rb_iseq_t *iseq, const VALUE *pc); + +void check_cfunc_dispatch(VALUE receiver, struct rb_call_data *cd, void *callee, rb_callable_method_entry_t *compile_time_cme); +bool cfunc_needs_frame(const rb_method_cfunc_t *cfunc); void assume_method_lookup_stable(const struct rb_callcache *cc, const rb_callable_method_entry_t *cme, block_t* block); #endif // #ifndef UJIT_IFACE_H |