diff options
Diffstat (limited to 'yjit_iface.c')
-rw-r--r-- | yjit_iface.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/yjit_iface.c b/yjit_iface.c index 6a04262399..0985dd8d53 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -13,7 +13,6 @@ #include "yjit_iface.h" #include "yjit_codegen.h" #include "yjit_core.h" -#include "yjit_hooks.inc" #include "darray.h" #if HAVE_LIBCAPSTONE @@ -48,22 +47,6 @@ static const rb_data_type_t yjit_block_type = { 0, 0, RUBY_TYPED_FREE_IMMEDIATELY }; -// Write the YJIT entry point pre-call bytes -void -cb_write_pre_call_bytes(codeblock_t* cb) -{ - for (size_t i = 0; i < sizeof(yjit_with_ec_pre_call_bytes); ++i) - cb_write_byte(cb, yjit_with_ec_pre_call_bytes[i]); -} - -// Write the YJIT exit post-call bytes -void -cb_write_post_call_bytes(codeblock_t* cb) -{ - for (size_t i = 0; i < sizeof(yjit_with_ec_post_call_bytes); ++i) - cb_write_byte(cb, yjit_with_ec_post_call_bytes[i]); -} - // Get the PC for a given index in an iseq VALUE * yjit_iseq_pc_at_idx(const rb_iseq_t *iseq, uint32_t insn_idx) @@ -1021,7 +1004,7 @@ outgoing_ids(VALUE self) void rb_yjit_init(struct rb_yjit_options *options) { - if (!yjit_scrape_successful || !PLATFORM_SUPPORTED_P) { + if (!PLATFORM_SUPPORTED_P) { return; } |